Reputation: 38714
I am having a problem editing VB.NET .aspx pages in Visual Studio 2008. If I edit a line that is flush against the left margin, Studio automatically indents it 4 spaces, and there is no way to undo it! I am forced to save the file with that 1 line I edited indented differently than all the other lines!
Edit: How do I turn this off?
Upvotes: 2
Views: 681
Reputation: 920
In Visual Studio go into the Tools>Options menu, scroll down to TextEditor>Basic>VBSpecific and uncheck the Pretty Listing checkbox and it should stop doing that. Or you could also use CRTL + "k" + "d" to reformat the entire document based on the options you have set.
Upvotes: 3