Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Edited Issue: incorrect indent when auto-format [1351]

$
0
0
I think auto format (Ctrl+K,D) the following code
```
var a = require('a');
a.mount('/', [
pipe.static({ root: 'b' }),
pipe.proxy({
'a': 1
})
]);
```
should yield the following style (when open as standard js file)
```
var a = require('a');
a.mount('/', [
pipe.static({ root: 'b' }),
pipe.proxy({
'a': 1
})
]);
```
but NTVS yield
```
var a = require('a');
a.mount('/', [
pipe.static({ root: 'b' }),
pipe.proxy({
'a': 1
})
]);
```

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>