blob: 04112d82f5a015479ea7939298e6fb7947990487 [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><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 Remote C/C++ projects the <b>RDT Remote Fast Indexer</b> 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><b>Indexer Problems</b></p>
<img src="../../images/indexer_problem.png" alt="Remote indexing warning dialog">
<p>
A prompt will appear when problems are encountered during indexing. Information
on these problems can be found in the Remote System Explorer <b>rsecomm.log</b>, located in
<code>$HOME/.eclipse/RSE/</code> on the remote host.</p>
<p><b>Editor Warnings</b></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, <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>