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

Align Assignments 2022

Microsoft DevLabs

|
3,821 installs
| (2) | Free
Adds a command to Visual Studio to align assignments. By default, this is bound to Ctrl+Alt+]

##Align Assignments

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

image.png

Transforms it into this:

image__1.png

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
  • Terms of use
  • Trademarks
© 2023 Microsoft