Defines while indexing [message #158789] |
Wed, 23 November 2005 06:09 |
Eclipse User |
|
|
|
Originally posted by: divis1969.mail.ru
Hi,
I'm wondering is it possible to force the indexer to parse ALL the code,
independently of the DEFINEs.
Sometimes I need to find all the declarations/definitions of some entity.
This especially helpful while you learning new code.
Also, this approach (to not parse some code) impact the outline view and it
is annoying if you you are unable to locate the function in outline view:
you know that is should be there, but you need to use search or scroll down
the source file... :-)
BTW, the project I'm working on has about 9000 files and I'm using ctags
instead of full indexer. Nevertheless, I suppose it is applicable to full
indexer too.
Dmitry
|
|
|
|
Re: Defines while indexing [message #158804 is a reply to message #158797] |
Wed, 23 November 2005 11:31 |
Eclipse User |
|
|
|
Originally posted by: divis1969.mail.ru
9000 files?
What about #ifdef #else #endif ?
I would prefer to use modern tools and features.
Otherwise, I would still use some simple editor and file manager... :-)
The next point which is related to indexer is how it processes the sources.
When you create the standard make project it tries to index all the sources
in all sub-directories. You don't have to specify exact set of the
files/directories to index. But why it cannot treate these directories as a
include directories also! Why not? Why I should specify them manually? It is
OK if there are couple directories, but what if there are couple dozens?
Dmitry
"Dries" <kd_jm@hotmail.com> wrote in message
news:95eb60907c44fea148c5d16c56dc9649$1@www.eclipse.org...
> You could use e.g. Perl to strip off all #define directives of each file,
> then use this to feed to ctags.
> But if you want to find all the declarations/definitions of some entity,
> you can perhaps better issue a search for it (the good old way)?
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03285 seconds