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)
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)