Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Align Assignments
Align Assignments

Align Assignments

Microsoft DevLabs

microsoft.com
|
94,480 installs
| (12) | Free
Adds a command to Visual Studio to align assignments. By default, this is bound to Ctrl+Alt+]
Download

Align Assignments

Aligns assignment statements by typing Ctrl+Alt+]. For example, typing Ctrl-Alt-] when the following is selected:


      
Transforms it into this:


     
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"

 

Note: The original version of this extension was written by Noah Richards. You can link to his extension here, where you will find links to an open-sourced version of the code.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft