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
 Technical Support
 1554: VA Outline & forward declarations
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 25 2007 :  4:00:47 PM  Show Profile  Reply with Quote
Great feature!

My first reflection is that includes, defines are grouped together. Well, forward decrarations are very common in C++ headers, so it should also be grouped for perspicuity.
For example:

- Forward declarations
   |- class cDT_Array;
   |- class cBufferedTextReader;
   |- class cDynamicType;

What do you think?
And of course it should be closed by default, like includes!

Thx for the innovation, keep up the good work!

Edited by - accord on Apr 25 2007 4:28:11 PM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 25 2007 :  4:12:50 PM  Show Profile  Reply with Quote
This will also enable to keep them together. So if they are spreaded in the header, they can easily merged into one group by dragging them after the first group.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Apr 25 2007 :  4:58:19 PM  Show Profile  Reply with Quote
An interesting idea, I have put in a feature request for this:

case=6214

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

support
Whole Tomato Software

5566 Posts

Posted - May 31 2007 :  12:11:49 AM  Show Profile  Reply with Quote
fixed in build 1557

Edited by - support on May 31 2007 12:40:02 AM
Go to Top of Page

schoenherr
Tomato Guru

Germany
160 Posts

Posted - May 31 2007 :  12:42:12 AM  Show Profile  Reply with Quote
Should this group also appear if only on forward declaration exists? IMHO: yes, but it dosn't.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - May 31 2007 :  06:32:13 AM  Show Profile  Reply with Quote
I don't understand what you mean. I have a header file with the content:


#pragma once

class CFred;
class CBob;
class CChocolate;


and I am getting this group in VA Outline.

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

holedigger
Whole Tomato Software

145 Posts

Posted - May 31 2007 :  1:31:32 PM  Show Profile  Reply with Quote
Many of the groups (Fwd Decls, #defines, #includes, etc) only show up only if there is more than one entry.

In the example above, remove CBob and CChocolate and the "Fwd Decls" group node disappears.

Whole Tomato Software
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