开发者

VS 2010 Power Tools - Align Assignments not working in VB.NET

开发者 https://www.devze.com 2023-02-03 13:38 出处:网络
I\'m using the Visual Studio 2010 Productivity Power Tools and I can\'t get the Align Assignments feature to work in VB.NET:

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号