Align Assignments


Adds a command to visual studio to align assignments. By default, this is bound to Ctrl+Alt+]

(7) Review
Visual Studio
2015, 2013, 2012, 2010
Download (14,032)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (7)
Q and A (4)
Sign in to write a review
Sort by:

by Ashraf Sabry | June 09 2015

Good and useful

by vman2000 | September 24 2013

Seems to insert spaces rather than honor the vs setting so cant use.

Noah Richards September 25 2013
| Edit |

It's true, sorry! It's unlikely that it'll get fixed anytime soon, though if you're feeling adventurous, you can find the implementation here:

by Korgman56 | May 18 2011

Brilliant extension for substantially improving code readability.

by Frederic Torres | April 17 2011

I used it every other line of code. Thanks.

by Omer Raviv | December 15 2010

Awesome! Works as advertised :)

by Fry123 | September 25 2010

by Rykie | April 21 2010

Very nice, love it. easy to use and works a treat!

Sign in to start a discussion

  • Command grayed out
    2 Posts | Last post June 13, 2013
    • The extension appears grayed out in VS2012 Edit menu and doesn't execute when the key sequence is pressed.  Any ideas?
    • Dunno; does it happen for all editor instances and file types, or only some?
  • alignment assignments don't working VS2010 (VB)
    2 Posts | Last post April 17, 2013
    • It appears in Edit menu as Ctrl+Alt+¿, and nothing happens when:
      -I click on it
      -I enter that combination key
    • You'll probably need to re-bind the shortcut key; sadly, the way to bind those doesn't work well across different keyboard layouts, which is why you end up with sometimes weird default bindings (in this case, for VK_OEM_6). Sorry!
  • Visual Studio 2008 Compability
    2 Posts | Last post February 11, 2013
    • Is it compatible with Vs2008?
    • Nope, sorry. It's an editor extension that uses the new extensibility added in VS2010 (MEF, new editor), so it isn't compatible with VS2008.
  • I love it
    1 Posts | Last post June 08, 2010
    • I would also like to allign typed as bellow.
      Bug: try to allign following lines:
                  uint         effectiveItemId    = currentItemId;
                  IVsHierarchy effectiveHierarchy = currentHierarchy;
                  if (nestedHierarchy != null) {
                      effectiveItemId    = nestedItemId;
                      effectiveHierarchy = nestedHierarchy;