Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Auto-align the comments after the codelines
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

alanchen
Junior Member

11 Posts

Posted - Dec 16 2014 :  6:50:32 PM  Show Profile  Reply with Quote
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.

Edited by - alanchen on Dec 16 2014 6:51:43 PM

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Dec 18 2014 :  10:33:28 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

Oscky
Starting Member

1 Posts

Posted - Apr 14 2016 :  11:42:05 AM  Show Profile  Reply with Quote
Gracias por la informacion, me estaba preguntando la misma pregunta.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000