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

Edited Issue: Formatting issue in beta3 [1525]

$
0
0
Hi,

Auto formatting this code:
````
var a = function (test) {
return {
}
}
````
gives

````
var a = function (test) {
return {
}
}
````

Another example, auto formatting this code:
````
socket.on("disconnect", function () {
var a = 2;
}).on('message', function () {
var b = 1;
});
````
gives:
````
socket.on("disconnect", function () {
var a = 2;
}).on('message', function () {
var b = 1;
});
````

I think both cases shouldn't be modifed upon auto format. I am using the latest beta 3 (1.0.21029.05)

Viewing all articles
Browse latest Browse all 4630

Trending Articles



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