Stumped by indexer! [message #733920] |
Wed, 05 October 2011 19:52  |
Eclipse User |
|
|
|
I am building an application and libraries used by the app in one workspace -- a half dozen projects in total. When I get into files that are part of the libraries, many tokens are not found in the index.
I have learned that paths must be in C/C++ General > Paths and Symbols. Beyond that there are some fundamental questions I have not been able to answer:
1) are paths entered in C/C++ General > Paths and Symbols searched recursively?
2) is there ONE index for the whole workspace, or one per project
2.5) if there is only ONE, it should not matter in which project I list the paths to search, correct?
3) is it possible to see progress of the indexer, like what folder it is working in?
|
|
|
|
|
Re: Stumped by indexer! [message #734406 is a reply to message #734031] |
Fri, 07 October 2011 12:24  |
Eclipse User |
|
|
|
Thanks Alex and Andrew! The label decorations have been particularly useful in seeing what is happening.
The situation is complicated by
- we are working with non-standard CDT, the QNX-issued Momentics IDE.
- presence of a 'convenience project' (non-compiling) that just 'imports' (links not copies) our hierachical (many subfolders) source file system.
Conveniently, this 'file system' project displays our source as a tree, and double clicking them opens them in the IDE. When is open, files are only visible there. The projects that compile the sources only show the source folders.
When I close the 'file system' project, source files become visible in include folders of other projects and they can be selected, and then right-click for Index->Update with modified files, forcing them into the index. This works for the moment but is not really sustainable, so we will be restructuring the workspace and getting rid of the file system project.
Thanks again.
PS Can anyone point to a discussion (which must exist) of dealing with hierachical file systems in Eclipse?
|
|
|
Powered by
FUDForum. Page generated in 0.03252 seconds