blob: 99f67f169da7ef487dcacaa81f9dced660c31fe2 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<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 of RDT 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><b>Configuring the Parser</b></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><b>Configuring the Indexer</b></p>
<p>
The indexer used for C/C++ projects may be configured using the
<b>C/C++ General &gt; Indexer</b> properties page.
For RDT Remote C/C++ projects the <b>RDT Remote Fast Indexer</b> must be selected,
otherwise RDT will not be able to communicate with the remote index and
none of the code analysis features of RDT will work correctly.
</p>
<p>
The indexer properties page has sections for specifying that references
should be skipped and for specifying that certain files should be parsed
up front. Currently RDT does not support these properties, and changing
them has no effect.
</p>
<p><b>Editor Warnings</b><p>
<p>
There is a known issue with RDT 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, <b>Window &gt; Preferences.</b></li>
<li>Navigate to the Annotations preference page, <b>General &gt; Editors &gt; Text Editors &gt; Annotations</b>.</li>
<li>Select <b>C/C++ Indexer Markers.</b></li>
<li>Uncheck all the checkboxes.</li>
<li>Click <b>Apply</b>.</li>
</ol>
</p>
</body>