Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 VA Outline: Hide parameters mode

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
Esone Posted - Jan 22 2008 : 09:36:18 AM
The VA Outline displays all the arguments for the function/method.

Example: for the functions
void fun1();
void fun2(int a);
void fun3(int a, int b, int c) const;
virtual void vfun() = 0;

the VA Outline displays them as:
fun1();
fun2(int a);
fun3(int a, int b, int c) const;
void vfun() = 0;

For the sake of better visibility within vertical VA Outline windows, I suggest to implement the option "Hide parameters" in the VA Outline. When this option is selected, these functions will look as:
fun1();
fun2(1);
fun3(3) const;
void vfun() = 0;

where numbers inside brackets indicate how many params the function has.

4   L A T E S T    R E P L I E S    (Newest First)
Esone Posted - Jan 30 2008 : 10:00:12 AM
Often you need to browse someone's code, where const methods are not grouped together. In this scenario I am finding the ability to look at class's interface from bird eye height more useful, than those methods' params. This feature is not critical for me, just giving you and others an idea for consideration.
feline Posted - Jan 24 2008 : 5:19:08 PM
a clean look, that is going to depend very much on the nature and structure of the current file.

For the const functions, are they grouped together? You could simply have a comment in the class saying that this is where the const functions start. The comment will show up in VA Outline, if you have showing comments turned on, and this will tell you where the "blocks" of functions are.
Esone Posted - Jan 24 2008 : 05:29:52 AM
In my work env, the VA Outline window is a docked to the right vertical window, rather narrow. So even when parameters have helpful names, it is not of much help, because I can see only one param of several.

Seeing const functions with one look is useful to determine, what is the const interface of the class.

The proposed option "Hide parameters" is also useful, when you want to have a clean look of VA Outline, not overcrowded with functions' params.
feline Posted - Jan 22 2008 : 8:37:51 PM
If you have used helpful parameter names then this will remove quite a bit of information. Plus the only benefit is to show const / abstract. I can see that pulling out the abstract functions will sometimes be important, but I am not sure how pulling out the const functions helps.

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