Hi,
Using NTVS 1.0 RC2. I noticed two problems:
1. Typing this
```
var Main = Main || {};
Main.Test = function () {<upon pressing enter here, I end up at the beginning of the next line instead of being indented one tab on the next line>
```
Continuing on the previous example, :
```
var Main = Main || {};
Main.Test = function () {
var a = 2;
}
Main.Test.prototype = { <pressing enter here brings me to beginning of next line, same problem as above>
testFunc: function () {
},
testFunc2: function () {
}
}
```
then if I go between testFunc and testFunc2 to add a testFunc3, upon pressing enter after the '{' I end up with:
```
var Main = Main || {};
Main.Test = function () {
}
Main.Test.prototype = {
testFunc: function () {
},
testFunc3: function () {
}
testFunc2: function () {
}
}
```
Notice how the testFunc3 gets indented at the beginning of the line. Please note that I have the option which auto generates matching curly braces turned on.
Thanks!
Using NTVS 1.0 RC2. I noticed two problems:
1. Typing this
```
var Main = Main || {};
Main.Test = function () {<upon pressing enter here, I end up at the beginning of the next line instead of being indented one tab on the next line>
```
Continuing on the previous example, :
```
var Main = Main || {};
Main.Test = function () {
var a = 2;
}
Main.Test.prototype = { <pressing enter here brings me to beginning of next line, same problem as above>
testFunc: function () {
},
testFunc2: function () {
}
}
```
then if I go between testFunc and testFunc2 to add a testFunc3, upon pressing enter after the '{' I end up with:
```
var Main = Main || {};
Main.Test = function () {
}
Main.Test.prototype = {
testFunc: function () {
},
testFunc3: function () {
}
testFunc2: function () {
}
}
```
Notice how the testFunc3 gets indented at the beginning of the line. Please note that I have the option which auto generates matching curly braces turned on.
Thanks!