Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Refactoring - Word-wrap comments!

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
MrDoomMaster Posted - Jun 04 2007 : 6:51:01 PM
Before you read any further, you should google for "comment reflower" and read up on how it works. Even try it out. In a nutshell, it automatically word-wraps your comments by inserting carriage returns when words exceed a specific column in the document. You can give it rules on what defines a comment block (such as doxygen comment blocks).

I think it would be very useful to have a refactoring feature in visual assist to do the job of comment reflower (word-wrap comment blocks by inserting words on new lines), but even better. I think this would be an amazingly useful feature. I would be surprised if it hasn't been suggested already.

Essentially, the ability to type a comment block and then right click it and select "word wrap" would be useful. I'm not talking about word-wrapping as you type (this would be nice but seems non-trivial).

Let me know what you think about this.

EDIT:

I found the following thread that also discusses another form of word-wrapping request. This one focuses on a different example, SlickEdit, but my feature request does not go into the scope of "word wrapping as you type"
http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=5241

3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Dec 18 2007 : 1:15:31 PM
No sign of any progress on this. Nothing is listed on the case.

This is something you might be able to do using an IDE macro. Triggering the macro after the comment was written, and having it update it.

It is also possible you would have some success with GC code formatter: http://sourceforge.net/projects/gcgreatcode/
MrDoomMaster Posted - Dec 17 2007 : 3:28:11 PM
quote:
Originally posted by feline

I half remember that thread. Depending on your IDE are you able to use comment reflower for now? I recall liking the idea of what this plugin did when I last looked at it.

With refactoring added and working rather nicely this idea makes a bit more sense for VA:

case=3866



How are things going with this case? Have you guys done any design or possibly implementation on this feature? Is it still being considered?

Reason I'm bumping this topic is because after a brief conversation with the author of Comment Reflower, he is no longer developing it. This basically means that there is no way for me to wrap comments right now in visual studio 2008.

Comment Reflower was a great tool because it utilized regular expressions to offer very unique comment wrapping. This was especially useful when using doxygen-formatted comments. You could instruct specific comments under specific doxygen commands to wrap differently, indent, and so forth.

I'm very excited about this feature becoming introduced into visual assist. Let me know how things are going!
feline Posted - Jun 05 2007 : 06:50:24 AM
I half remember that thread. Depending on your IDE are you able to use comment reflower for now? I recall liking the idea of what this plugin did when I last looked at it.

With refactoring added and working rather nicely this idea makes a bit more sense for VA:

case=3866

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