Samantha J T Star
Samantha J T Star

Reputation: 32838

Is there a shortcut to line up = signs in VS2010?

I seem to remember something but can't remember how to do it. For example is there any easy way to line up:

var a = 1;
var aa  = 2;

and make

var a  = 1;
var aa = 2;

Upvotes: 2

Views: 111

Answers (1)

Joe White
Joe White

Reputation: 97848

The Productivity Power Tools extension has an "Align Assignments" feature. I've never used this particular feature of PPT (I don't like all that blank space in my code) so I can't vouch for it, but if you've installed Productivity Power Tools, the docs say you just need to hit Ctrl+Alt+].

Upvotes: 3

Related Questions