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
 Forward declarations are incomplete
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jschroedl
Tomato Guru

USA
103 Posts

Posted - Dec 17 2012 :  07:56:28 AM  Show Profile  Reply with Quote

Is there any way that the Forward Declarations item in VA Outline could include declarations from an adjoining namespace?

Ex:



feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Dec 17 2012 :  10:12:53 AM  Show Profile  Reply with Quote
I don't understand what you are asking for / about. VA Outline is designed to show you an overview of the current file, which is exactly what your screen shot shows.

If you want to see the details of some type, for example one of the classes you are referencing, have you looked at the Hovering Class Browser, the bottom portion of VA View:

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

jschroedl
Tomato Guru

USA
103 Posts

Posted - Dec 17 2012 :  10:25:22 AM  Show Profile  Reply with Quote
I'm asking for baz::fred and baz::ManagedFred to be included in the Forward Declarations node in the tree since that's what they are.

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Dec 17 2012 :  11:24:29 AM  Show Profile  Reply with Quote
But these two forward declarations are also part of a namespace, which is why they have been grouped in the namespace node. If we did not show the namespace node then we would not be accurately showing you the outline of the file, and you would not be able to perform operations on the namespace.

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

jschroedl
Tomato Guru

USA
103 Posts

Posted - Dec 17 2012 :  11:48:38 AM  Show Profile  Reply with Quote
I think that's the dilemma. Those lines are both Forward Declarations and part of a namespace. I would be fine if {} baz had a subnode named "Forward declarations" too.

My confusion started when I clicked the triangle on the forward declarations nothing showed up (compare fred's appearance to foo's -- why the triangles when there's nothing there?)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Dec 17 2012 :  6:02:03 PM  Show Profile  Reply with Quote
The triangles on the forward declarations, this only happens on VS2012, so I have put a bug report in for this:

case=71279

and I have put in a feature request to group the forward declarations inside a namespace:

case=71280

zen is the art of being at one with the two'ness

Edited by - feline on Dec 17 2012 6:11:38 PM
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Feb 25 2013 :  12:41:54 PM  Show Profile  Reply with Quote
case=71279 is fixed in build 1929
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