blob: bb891787450387959caee7a286e159594791f05a [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="../../help.css">
<title>Configuring The Parser/Indexer</title>
</head>
<body>
<h1>Configuring The Parser/Indexer</h1>
<p>
The C/C++ indexer uses the parser to create a database of your
source and header files that provides the basis for C/C++ search,
navigation features and parts of content assist.
</p>
<p>
The parser must be configured properly for it to find header files, otherwise
the code analysis features may not have sufficient information available,
and will not provide a complete analysis.
</p>
<p>
Additionally it may be necessary to provide the parser with additional information
on symbols (preprocessor macros) so that the preprocessing phase of the parser
is correct.
</p>
<p><span class="bold">Configuring the Parser</span></p>
<p>
Tasks for configuring the parser:
<ul>
<li><a href="../reference/remote_properties_paths.html">Setting up remote include paths</a></li>
<li><a href="../reference/remote_properties_symbols.html">Setting up symbols</a></li>
</ul>
</p>
<p><span class="bold">Configuring the Indexer</span></p>
<p>
The indexer used for C/C++ projects may be configured using the
<strong>C/C++ General &gt; Indexer</strong> properties page.
For Remote C/C++ projects the <strong>RDT Remote Fast Indexer</strong> must be selected,
otherwise the project will not be able to communicate with the remote index and
none of the code analysis features will work correctly.
</p>
<p><span class="bold">Editor Warnings</span></p>
<p>
There is a known issue where sometimes the remote editor displays
false warnings about syntax errors or invalid include directives. To disable
editor warnings do the following:
<ol>
<li>Use the workbench menu to open the Preferences dialog, <strong>Window &gt; Preferences.</strong></li>
<li>Navigate to the Annotations preference page, <strong>General &gt; Editors &gt; Text Editors &gt; Annotations</strong>.</li>
<li>Select <strong>C/C++ Indexer Markers.</strong></li>
<li>Uncheck all the checkboxes.</li>
<li>Click <strong>Apply</strong>.</li>
</ol>
</p>
</body>