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 Symbols in current file and various suggestio
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kennyl
Senior Member

48 Posts

Posted - Sep 22 2011 :  12:31:21 AM  Show Profile  Reply with Quote
The Find Symbol dialog provides control to filter out symbols that not belong to current solution, but what if I want to list symbols that are only visible in current file?

I know you guys are probably going to recommend me using the VA Outline, but only the Find Symbol have the ability of dynamic filtering according to search string.

By the way, the problem with the List of Methods in Current File (Alt+M) is that it:
1) does not list the enumeration members (the enumeration name are however listed)
2) lists anonymous enumerations but only display "enum", if you want to know what exactly it is then you have to click it to locate and find out.
3) does not display function return type
4) does not have an filter option that let us search name only instead of search the whole protype

For 1), it's acceptable since listing enumeration members can most likely mess up the list.
For 2), I think it would be better to display tooltip that shows detail such as protype when the mouse hover the list.

Also, if you wan to list functions that must begin with Get (GetXXX) or end with Color (XXXColor), it's not possible by using the Find Symbol dialog or the List Methods (the Open Files in Solution dialog also have such problem).

Regarding the Open Files in Solution dialog:
1) I would like a "Open With" command appear in the context menu, just like VS provides.
2) Is that possible to provide some kind of search keyword to search within specific project?

Edited by - kennyl on Sep 22 2011 12:36:52 AM

accord
Whole Tomato Software

United Kingdom
3279 Posts

Posted - Sep 22 2011 :  1:14:36 PM  Show Profile  Reply with Quote
Regarding filtering Find Symbol Dialog: you already can filter from the beginning if you put a dot (.) before the symbol name, and we are planning to extend this to be able to filter from the end as well:

case=5977

You in your example, just type .Get and you'll get the desired result.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3279 Posts

Posted - Sep 22 2011 :  1:27:47 PM  Show Profile  Reply with Quote
Regarding the Open Files in Solution dialog:
1. We are considering doing something similar at some point:

case=856

2. You can find files by path if you type \\ before your directory name, so if you have a project in a directory like

c:\\Users\\Accord\\Documents\\Visual Studio 2010\\Projects\\MyFirstProject

you can find all file in this project by typing \\MyFi

Hope this helps.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3279 Posts

Posted - Sep 22 2011 :  2:06:49 PM  Show Profile  Reply with Quote
Regarding using Find Symbol for current file: something "similar" can be achieved by using spaces. If you use space you can specify two or more substrings from the "symbol" column of Find Symbol Dialog. This way, you can specify the class and the function you would like to use like:

"cobject" "functionname"
or you can specify the exact class like
".cobject." "functionname"

"functionname" can be a substring of the function name you are trying to find, as normally. This is not the very same what you asked for, but very similar.
Go to Top of Page

kennyl
Senior Member

48 Posts

Posted - Sep 25 2011 :  10:58:49 PM  Show Profile  Reply with Quote
I'm aware of find files by path using \\, but unfortunately some of our old projects were not organized in the same directory, sigh~

Nevertheless, I still miss the "Find Symbol in current file".

Thanks for your quick reply.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3279 Posts

Posted - Sep 26 2011 :  12:57:44 PM  Show Profile  Reply with Quote
I have put in a feature request for this to see what the developers make of it.

case=61558
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 07 2014 :  10:03:56 AM  Show Profile  Reply with Quote
case=5977 is implemented in build 2052
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000