Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Auto-align the comments after the codelines

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000