Enable/Disable Full C/C++ Indexer

Users can choose which indexer they wish to use on a specific project by bringing up the project properties and
selecting an indexer from the available indexer list.

Full C/C++ Indexer Properties

Enable Full C/C++ Indexer

Build Info


In order for the Full C/C++ Indexer to successfully index your project, it is necessary to set up your project's build info.
This build info is used by the parser to find the paths specified within your source files. Note that without any build info,
the full C/C++ indexer will just skip over all files.

For Managed Make projects, some build info is provided by default when a project gets first created. This default info is
enough to allow the indexer to index the entire project. However, it is possible that some internal include paths could still be
missing. In this case a warning marker will appear next to the inclusion that was not found and a corresponding entry will appear
in the Problems view.

Preprocessor inclusion not found


Inclusion Problems View

For Standard Make projects, no build info is provided by default. However, if you rebuild your project the Scanner Discovery will
kick in - regardless if you have an actual makefile -  and populate some default build info. For more information see the Set Discovery
Options
page.

For both types of projects you can always add build paths manually by right clicking on the project properties.

Enabling the  indexer


To enable the Full C/C++ Indexer:
  1. Right click on the project and select Properties > C/C++ Indexer
  2. Select the Full C/C++ Indexer (declarations and cross references)
  3. Click OK
This will throw away whatever old index was around for the current project and start a new reindex of the entire project using the full
C/C++ Indexer.

Disable Full C/C++ Indexer


To disable the Full C/C++ Indexer:
  1. Right click on the project and select Properties > C/C++ Indexer
  2. Select the No Indexer (search based features will not work correctly)
  3. Click OK
This will stop any ongoing indexes and disconnect the project from reacting to resource changes.

Related concepts
C/C++ search
C/C++ Indexer
C/C++ Indexer Opening or Closing a project
C/C++ Indexer Progress Bar

Related tasks
Selection Searching for C/C++ elements
Enable/Disable the CTags Indexer
Indexing a large project
Setting Source Folders

Related reference
C/C++ search page, Search dialog box
C/C++ Project Properties, Managed, Indexer
C/C++ Project Properties, Standard, Indexer

 

IBM Copyright Statement