I'm using the Visual Studio 2010 Productivity Power Tools and I can't get the Align Assignments feature to work in VB.NET:
Productivity Power Tools
Align Assignments
This extension is useful for making your code a little more readable by aligning the assignments when you type Ctrl+Alt+]
Please note: This may conflict with your formatting settings. E.g. in C# you will need to disable: Tools->Options->Text Editor->C#->Formatting->Spacing->"Ignore spaces in declaration statements"
When I put lots of spaces in a line of code and press Ctrl + Alt + ] it reverts the line back to normal formatting. This indicates there's a conflict with my formatting settings. The problem is with VB.NET and I dont know how to "Ignore spaces in declaration s开发者_如何学Gotatements"?
If this is not working for you, it could because your C# settings are stopping it. To , you must uncheck: Tools menu –> Options –> Text Editor –> C# –> Formatting –> Spacing –> Ignore spaces in declaration statements
精彩评论