Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Find symbols from include path

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
mwb1100 Posted - Jun 12 2008 : 2:17:23 PM
Sometimes I want to locate the declaration or definition of a symbol that's declared in a header that's in the include path but not part of the solution (for example, windows.h) so the VA View "Symbols in solution" search box doesn't work.

What I find myself doing is typing the symbol in some source file just so I can do an Alt-G on it. This feels wrong - there's gotta be a better way.

Also, I'd often like to do something similar to open a header file by name for a header that's in the include path but not directly part of the solution.

Basically, I'd like the VA View functionality but also including files in the include path. I'm not necessarily saying that making the VA View search boxes work this way is the right thing (but maybe it is).

Any pointers?
3   L A T E S T    R E P L I E S    (Newest First)
mwb1100 Posted - Jun 12 2008 : 4:56:38 PM
Thanks, Accord - can't believe I missed that.
accord Posted - Jun 12 2008 : 3:46:41 PM
About opening header files by name not part of the solution: there is a free software to do this: http://www.mythicsoft.com/agentransack/

..and you can do the Alt+G trick also on files:
#include "header.h" <-- alt+g will open the file even if it is not part of the solution
accord Posted - Jun 12 2008 : 3:40:59 PM
Have you tried "Find Symbol"?

VAssistX -> Find Symbol...

or press Alt+Shift+S

Here, you can find any symbol (class, function, etc.) in your solution. If you uncheck "Show only symbols defined in current solution" checkbox, this feature will find you any symbols in system headers also (like windows.h)

If you want to find symbols in your own header (non added to the project), it will works only on files that you have already opened and parsed by VAX.

This is because VAX "pre-parsing" a lot of system files, like windows.h, stddef.h, etc.

Personally, I love Find Symbol. It can do a lot of trick for you, for example you can go directly to a member function if you type
classname.functionname
into the editbox.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000