All,
In my VS2008 C# editor window I’m trying to get from this:
/******** CONSTANTS ********/
const int HOLD_AWAITING_PAYMENT = 1;
const int HOLD_INT_LENDER_APPROVAL = 2;
const int HOLD_MDIA = 3;
to this:
/******** CONSTANTS ********/
const int HOLD_AWAITING_PAYMENT = 1;
const int HOLD_INT_LENDER_APPROVAL = 2;
const int HOLD_MDIA = 3;
I seem to remember that there’s a hot key or plug-in or somethat that does this. Does anyone remember the formatting trick?
There is a macro called
LineEmUpin VS 2008 that does exactly this.Tools > Options > Keyboard > Show commands containing: LineEmUp
You can assign it to any key combination right there.
Upd: note that you have to call it multiple times if you need to format more than one “column” in your code block.