Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Long Function Documentation

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
Chris Jones Posted - Jul 26 2007 : 10:51:26 AM
Ive been using visual assist for just under a year, i hate to program without it now

currently, im documenting all my classes/functions of my project for use with doxygen (generates html (or other formats) of documentation for your project), and this makes the comments before some functions and classes very long, i noticed that visual assist cuts off the comments after a certain number of lines, it just puts a ...

is it possible to turn that off so it displays all of the comments in the tooltip, i couldnt find any options to do so. if not, would it be possible to add an option to view all of the comment.

thanks

Chris
6   L A T E S T    R E P L I E S    (Newest First)
Chris Jones Posted - Sep 14 2007 : 04:36:14 AM
thanks!

Chris
support Posted - Sep 14 2007 : 02:16:32 AM
case=7920 is fixed in Build 1561
Chris Jones Posted - Jul 27 2007 : 2:34:22 PM
thanks! it will be very usefull

Chris
feline Posted - Jul 27 2007 : 2:18:29 PM
On one memorable occasion at my old job I ended up with an ASCII art class diagram inside a comment, explaining the class hierarchy, and why I was doing what I was doing. That produced a rather large comment!

At that job a more common situation was a long comment referencing specific rules and points in specific versions of various specification documents to explain why the code was doing what ever strange thing it was doing. You had to go check the spec before you could consider changing the code.

I am glad I don't deal with that code base any more

I have put in a feature request to show more of the comment, since clearly this will help, so long as we don't remove all limits:

case=7920
Chris Jones Posted - Jul 27 2007 : 06:43:08 AM
thanks for the fast reply

ive just tried it with a few of the larger and smaller comments, it seems that if its longer than 7 lines long, it cuts the rest off, depending on the length though, sometimes it cuts off a bit less.

i cant imagine ever needing comments that takes the whole screen, with this much documentation it surely becomes a tutorial or should be placed somewhere else? some of my comments are just under 20 lines long, this includes alot of empty lines (just with a * at the start of it, this is part of doxygen comments) for readability.

also this isnt just in my project, we use several other libraries in ours, some are documented well, and their comments gets cut off too

maybe it would be possible to be able to choose the number of lines to display at most, rather than an on/off setting?

thanks

Chris
feline Posted - Jul 26 2007 : 2:38:49 PM
At the risk of playing devil's advocate, what happens when the comment block on a function is 100 lines tall? Most comments won't be this big, but I have seen the occasional class, or structurally important function end up with massive comments, since there is a need to explain a complex "why".

Is it the length of the lines, or the number of lines, in these comments that is causing the problem for you?

How big is the largest comment you would hope to fit into a tooltip? We don't really want to try and produce tooltips that are taller than most monitors

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