User guide
Creating Projects
45
Indexing and Searching Project Contents
The Nios II IDE uses the C/C++ and file search capabilities of the Eclipse environment. Refer
to the Related Topics
for more information about C/C++ and file search capabilities.
C/C++ searches (accessible from the Search menu) are based on the C/C++ search index.
When you start the Nios II IDE, the IDE does not take the time to automatically create an
index of your projects. You must manually start indexing for projects you need to search.
To index a single project:
1. Right-click on the project in the Nios II C/C++ Projects view.
2. Click Rebuild Index.
To index all projects:
1. Highlight all the projects in the Nios II C/C++ Projects view.
2. Right-click in the Nios II C/C++ Projects view.
3. Click Rebuild Index.
Note: The C/C++ indexer does not correctly index non-ANSI C compliant code. If C/C++
search fails for any reason, you can use the file search to find C/C++ constructs.
Related Eclipse and CDT Help Topics
C/C++ Development User Guide > Concepts > C/C++ search
C/C++ Development User Guide > Concepts > C/C++ search > C/C++ Indexer
Workbench User Guide > Reference > User interface information > Search > File
search