T O P I C R E V I E W |
alanchen |
Posted - Dec 16 2014 : 6:50:32 PM Hi,
I just wonder if VisualAssist can auto-align the comments after the codelines. For example, in the following code snippet:
I = MyFun(); // Call MyFun() J = MyFun1();// Call MyFun1() J = MyFun2(); // Call MyFun2()
The // comment sign in three lines are not aligned in the same column properly. Does Visual Assist support to perform an auto-align so that they become:
I = MyFun(); // Call MyFun() J = MyFun1(); // Call MyFun1() J = MyFun2(); // Call MyFun2()
Thank you.
|
2 L A T E S T R E P L I E S (Newest First) |
Oscky |
Posted - Apr 14 2016 : 11:42:05 AM Gracias por la informacion, me estaba preguntando la misma pregunta. |
feline |
Posted - Dec 18 2014 : 10:33:28 PM Unfortunately no, this falls under code formatting, which we don't have any current plans to attempt. One reason for this is simply the vast number of different code formatting rules and styles that people want to use.
Depending on the IDE you are using, you might be able to use an IDE macro to help here. In VS2010, have a look at:
IDE Tools menu -> Macros -> Macro Explorer
Then the macro "Samples -> VSEditor -> LineEmUp", the description of this sample macro suggests it will help here. |
|
|