Author |
Topic |
|
squidge
Junior Member
23 Posts |
Posted - Mar 23 2006 : 6:04:42 PM
|
Just wondering if there will ever be an option to only show symbols from files #include'd from a project? For example, if a project only has a single '#include "myinc.h"' in a single C/c++ file called mysrc.c, VAX will then only show the symbols (I mean functions, #defines, structures, etc) from this header file and mysrc.c, and not any system includes such as as windows.h ?
|
|
Sasa
Tomato Guru
272 Posts |
Posted - Mar 23 2006 : 7:34:45 PM
|
i don't think i will be using that option even if it existed. The reason being is that lets say sometime I didn't include a header file yet, but I want to call a function, or just get the syntax of it, VAX is great for that. As long as the guess it propose to me favor local symbols vs global ones, I am a happy camper. |
C++ Visual Studio 2008 Pro Windows 7 x64
|
|
|
squidge
Junior Member
23 Posts |
Posted - Mar 29 2006 : 06:00:00 AM
|
I'm thinking about the case when you forget the name of a global or local variable, so type some of it and press the shortcut key, only to get a list of about 20,000 symbols, which includes all of the similar symbols from windows includes files, instead of just the ones of relevance.
Maybe it could be that if the option existed and was enabled, the first time you press CTRL+SPACE, it only shows symbols from the current files and included files, and if pressed a second time, it would show all symbols (ie, the current behavior). |
|
|
feline
Whole Tomato Software
United Kingdom
19017 Posts |
Posted - Mar 29 2006 : 1:28:49 PM
|
unfortunately this imidiately stops people using VA to get help on library classes until they add the correct header file. telling all of our users to press CTRL-SPACE twice is not going to go down terribly well.
VA is designed to suggest common symbols as you type, the listboxes with the question mark icons. if you have a fairly small number of local variables you should find these suggestion listboxes suggest the right thing after 2 or 3 characters nearly all of the time. certainly this is my experience. |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|
|
|