Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Move implementation AND comment

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
chowette Posted - Jul 13 2006 : 04:00:02 AM
It would be great if the move implementation can also duplicate the comment to the source file.

Maybe it can also use the Refactor Document Method auto text template?
9   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 22 2006 : 11:37:13 AM
if your brief comment is on one line only then depending on your IDE and its settings CTRL-C with nothing highlighted will copy the entire current line, allowing you to do CTRL-C -> ALT-O -> CTRL-V, or some variant of this.
support Posted - Jul 21 2006 : 12:08:26 PM
http://www.wholetomato.com/products/features/autotext.html?more=yes
chowette Posted - Jul 21 2006 : 03:06:24 AM
Thanks, I got the idea.

I already have some keyed to "/**"


/**
* $end$
*/

/**
* \\brief $end$
*/

But I still have to cut-and-past the brief comment from the .h file.

As a side question, where can I get the list of all reconised variables like %DAY%, $DAY_02$, $FILE_BASE$ or $end$ ?
feline Posted - Jul 20 2006 : 5:27:55 PM
i dont seem to have them on this machine, so this is from memory. they are all keyed to the same shortcut "///"

///< $end$
/// \\brief $end$
/// \\param $end$
/// \\return $end$


and then i threw in a "dated comment block" one, which is useful now and then

//********************************************************
// %DAY% %MONTH% %YEAR%
// $end$
//********************************************************


once you see the idea the rest should be fairly obvious. it is just a matter of having some useful formatted blocks easily on hand.
chowette Posted - Jul 18 2006 : 03:21:24 AM
Can you share those shortcut ?
I am just curious about them...
feline Posted - Jul 17 2006 : 6:33:13 PM
you may want to add an autotext rule with the shortcut ///

i have 5 of them myself, so when i type triple slash i get to choose the one i want. i have a selection of doxygen format comment lines in the list, ideal for quickly entering short formatted comments.
chowette Posted - Jul 17 2006 : 02:59:02 AM
In general, I put a brief comment in the header, using
/// Brief comment.

and in the implementation file, using

/**
*Brief comment.
* More Detail here, like parameters and return ( what Refactor Document Method do)
*/

then, using JAVADOC_AUTOBRIEF set to YES in doxygen, I get a nice class description.

I think it's up to me to keep comments in sync.
What I need is a quick way to implement a method. This also imply commenting for doxygen.
Today I need a lot of document switchs to just cut and past some comments... This is just a big waste of time...

Thank anyway for VA !
feline Posted - Jul 15 2006 : 11:37:24 AM
there is a practical problem with copying the comment from the header, the two comment blocks will instantly start to go out of sync. before you ask, getting VA to keep the two comment blocks in sync is very unlikely to happen, there are just far to many ways this could go horribly wrong.
jpizzi Posted - Jul 14 2006 : 12:23:54 AM
The idea so far is to provide small, individual choices that could be chained together so that you can get what you want accomplished, but we don't have to provide too many options about what to chain.

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