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
 Feature Requests
 Outline, interpret preprocessors
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

high6
New Member

6 Posts

Posted - Dec 11 2009 :  12:24:18 AM  Show Profile  Reply with Quote
VA Outline really needs this option. It is completely useless as most classes are a mess of preprocessors.

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Dec 11 2009 :  10:51:57 AM  Show Profile  Reply with Quote
Which IDE and programming language are you using?

Can you post some sample code showing the problem please? I am not really sure what you are talking about.

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

high6
New Member

6 Posts

Posted - Dec 15 2009 :  8:05:58 PM  Show Profile  Reply with Quote


Top left is what it shows.

Bottom left is what I would like it to show.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Dec 17 2009 :  2:06:25 PM  Show Profile  Reply with Quote
Do you have a lot of code that looks like this?

I understand the problem now. However VA Outline is behaving as it is designed to behave, it is accurately showing you the outline of the file, and the important structure of the code. This way when you drag and drop things within the outline you will get the expected result.

If you simply want a summary of the class, rather than the file, you can use the bottom half of VA View, the Hovering Class Browser:

http://www.wholetomato.com/products/features/hcb.asp

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

high6
New Member

6 Posts

Posted - Dec 20 2009 :  5:53:23 PM  Show Profile  Reply with Quote
That works, would just be nice to have it outline every class and evaluate the defines and such.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Dec 21 2009 :  10:44:45 AM  Show Profile  Reply with Quote
What do you mean by outline every class? The HCB will outline every class that VA understands / knows about. It only shows one class at a time, but you can simply hover the mouse over a new class to update it.

Evaluating defines is more difficult. Consider a simple example:

class testDefines
{
#ifdef _DEBUG
    void shouldThisBeListed()
#endif
}


this function is available or not available depending on how you are compiling your code. So should VA always show it, never show it, or have it appear and disappear?

Often VA does not have access to the required information to know how to evaluate #ifdef statements, and by design we parse inside them and are active inside of them, to give maximum help while writing code.

zen is the art of being at one with the two'ness
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