Author |
Topic |
|
kennyl
Ketchup Master
50 Posts |
Posted - Sep 22 2011 : 12:31:21 AM
|
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
3287 Posts |
Posted - Sep 22 2011 : 1:14:36 PM
|
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. |
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Sep 22 2011 : 1:27:47 PM
|
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. |
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Sep 22 2011 : 2:06:49 PM
|
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. |
|
|
kennyl
Ketchup Master
50 Posts |
Posted - Sep 25 2011 : 10:58:49 PM
|
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. |
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Sep 26 2011 : 12:57:44 PM
|
I have put in a feature request for this to see what the developers make of it.
case=61558 |
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Nov 07 2014 : 10:03:56 AM
|
case=5977 is implemented in build 2052 |
|
|
|
Topic |
|