This extension adds a command, "Align Assignments", that is bound to Ctrl+Alt+] by default (and placed in the Edit menu). This command helps you line up assignments by aligning the '=' on each line. It takes this: And turns it into this: You can use this in two ways:
If you are using C#, you should make sure the following option is enabled, so that C# auto-formatting doesn't undo the alignment:
Source code can be found at http://github.com/noahric/AlignAssignments.
Version history: v1.3 - VS2015 support. v1.2 - VS2013 support. v1.1 - VS2012 support. v1.0 - Initial version. |