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
 Find Symbol Tree View
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

drac
Senior Member

Germany
49 Posts

Posted - Jun 17 2009 :  12:37:11 PM  Show Profile  Reply with Quote
Hi,

Consider the following class hierarchy:

class Figure
{
public:
	virtual double Area() = 0;
};

class Square : public Figure
{
public:
	virtual double Area();
};

double Square::Area()
{
	return 0.0;
}

class Circle : public Figure
{
public:
	virtual double Area();
};

double Circle::Area()
{
	return 0.0;
}


VAX "Find Symbol" gives a flat ListView when I search for "area",
wouldn't be more visible if it had provided a tree view, the parent
being the Figure::Area.

Here is what I have in mind:


Cheers!

Edit:
Why not highlighting the searched symbol? Like this:



Edited by - drac on Jun 17 2009 1:04:32 PM

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Jun 18 2009 :  1:59:23 PM  Show Profile  Reply with Quote
I like the idea of highlighting in the dialog, very simple and very effective:

case=28485

The tree in the dialog, your second screen shot helps to explain why this might be tricky. Currently the list is in alphabetical order, to try and make it easier to find the symbol you want.

As soon as the items are grouped into tree's then this is no longer a single alphabetical list, instead it is several lists, one after another. Also what happens about parent nodes that do not match your filter criteria? Are they included to show the tree, or excluded to match the filter string?

Your first example is a good illustration of how this works well, but I am not sure how well this will work in general.

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

drac
Senior Member

Germany
49 Posts

Posted - Jun 18 2009 :  3:57:44 PM  Show Profile  Reply with Quote
I guess the tree containing class hierarchy is not that useful. Come to think about it, more useful would be to group the functions from a class which match the query in a tree having the name of the class as parent.

In the following screenshot:

CMFCVisualManagerWindows is just clutter.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Jun 19 2009 :  1:05:29 PM  Show Profile  Reply with Quote
I don't understand what you mean. In this screen shot, there is no way for VA to know that you do not want to see the "CMFCVisualManagerWindows" entries.

If you add "-mangerwindows" to the filter then this will remove all of these items.

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