Jeremy Thompson
Jeremy Thompson

Reputation: 65712

VS 2010 Power Tools - Align Assignments not working 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 statements"?

Upvotes: 1

Views: 1936

Answers (1)

code master
code master

Reputation: 2026

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

Upvotes: 0

Related Questions