/usr/share/eclipse/dropins/ptp-rdt/eclipse/plugins/org.eclipse.ptp.rdt.doc.user_1.0.0.dist/html/tasks/configuring_the_parser.html is in eclipse-ptp-rdt 8.1.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | <!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=utf-8">
<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 > 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 > Preferences.</strong></li>
<li>Navigate to the Annotations preference page, <strong>General > Editors > Text Editors > 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>
|