1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-01 13:25:45 +02:00

User Docs for indexer

This commit is contained in:
Bogdan Gheorghe 2005-07-27 22:05:29 +00:00
parent 0ffe6cd37e
commit 7656bf39b8
4 changed files with 86 additions and 90 deletions

View file

@ -138,15 +138,12 @@ Bar</a></p>
elements</a><br> elements</a><br>
<a href="cdt_t_indexer_enablefull.htm">Enable/Disable the Full C/C++ <a href="cdt_t_indexer_enablefull.htm">Enable/Disable the Full C/C++
Indexer</a><br> Indexer</a><br>
<a href="indexer_importing_large_project.html">Importing a large project</a><br> <a href="indexer_importing_large_project.html">Indexing a large project</a><br>
<a href="../tasks/cdt_t_set_src_fold.htm">Setting Source Folders</a><br> <a href="../tasks/cdt_t_set_src_fold.htm">Setting Source Folders</a><br>
</p> </p>
<p><img style="border: 0px solid ; width: 143px; height: 21px;" <p><img style="border: 0px solid ; width: 143px; height: 21px;"
src="../images/ngref.gif" alt="Related reference"> src="../images/ngref.gif" alt="Related reference">
<br> <br>
<a href="../reference/cdt_u_search_pref.htm">Search, C/C++ Preferences
window</a>
<br>
<a href="../reference/cdt_u_search.htm">C/C++ search page, Search <a href="../reference/cdt_u_search.htm">C/C++ search page, Search
dialog box</a> dialog box</a>
<br> <br>

View file

@ -94,15 +94,12 @@ Bar</a></p>
elements</a><br> elements</a><br>
<a href="cdt_t_indexer_enablectags.html">Enable/Disable the CTags <a href="cdt_t_indexer_enablectags.html">Enable/Disable the CTags
Indexer</a><br> Indexer</a><br>
<a href="indexer_importing_large_project.html">Importing a large project</a><br> <a href="indexer_importing_large_project.html">Indexing a large project</a><br>
<a href="../tasks/cdt_t_set_src_fold.htm">Setting Source Folders</a><br> <a href="../tasks/cdt_t_set_src_fold.htm">Setting Source Folders</a><br>
</p> </p>
<p><img height="21" width="143" alt="Related reference" <p><img height="21" width="143" alt="Related reference"
src="../images/ngref.gif" border="0"> src="../images/ngref.gif" border="0">
<br> <br>
<a href="../reference/cdt_u_search_pref.htm">Search, C/C++ Preferences
window</a>
<br>
<a href="../reference/cdt_u_search.htm">C/C++ search page, Search <a href="../reference/cdt_u_search.htm">C/C++ search page, Search
dialog box</a> dialog box</a>
<br> <br>

View file

@ -1,69 +1,75 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html lang="en"> <html lang="en">
<head> <head>
<meta http-equiv="Content-Language" content="en-us"> <meta content="en-us" http-equiv="Content-Language">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title>Setting Source Folders</title> <title>Setting Source Folders</title>
<link rel="stylesheet" type="text/css" href="../help.css"> <link href="../help.css" type="text/css" rel="stylesheet">
</head> </head>
<body> <body>
<h1>Setting Source Folders</h1> <h1>Setting Source Folders</h1>
<p><i>Note that source folders can only be currently used with Standard
<p><i>Note that source folders can only be currently used with Standard Make projects. Make projects. Managed Make projects treat the entire project as a
Managed Make projects treat the entire project as a source folder.</i></p> source folder.</i></p>
<p>Source folders are a way to cut down on a project’s indexing scope.
<p>Source folders are a way to cut down on a project’s indexing scope. You can mark the folders that are part of your day to day work or part
You can mark the folders that are part of your day to day work or part of a subsystem that you work on. of a subsystem that you work on. All files inside source folders will
All files inside source folders will be indexed and are, thus, searchable. be indexed and are, thus, searchable. Note that any files pulled in by
Note that any files pulled in by a file inside a source folder will also be indexed. </p> a file inside a source folder will also be indexed. </p>
<p><img src="../images/cdt_set_src_folder.png" alt="Set source folder"></p> <p><img alt="Set source folder" src="../images/cdt_set_src_folder.png"></p>
<p>To setup source folders: <p>To setup source folders:
</p>
<ol> <ol>
<li>Right click on the project and select <b>Properties &gt; C/C++ Project Paths</b></li> <li>Right click on the project and select <b>Properties &gt; C/C++
<li>Click on the <b>Source</b> tab<br> Project Paths</b></li>
By default the entire project is a source folder, which means everything will be indexed. <li>Click on the <b>Source</b> tab<br>
This is reasonable for smaller projects but definitely not recommended for large projects. </li> By default the entire project is a source folder, which means
<li>Click <b>Add folder</b> to add the folders. everything will be indexed. This is reasonable for smaller projects but
A dialog will explain exclusion filters have been added to nesting folders. definitely not recommended for large projects. </li>
You will see that the folder you added will be excluded from the project folder (in order to avoid including a folder twice). <li>Click <b>Add folder</b> to add the folders. A dialog will
Repeat until all the folders have been added. <br> explain exclusion filters have been added to nesting folders. You will
<b>Note: </b>Don't forget to remove the project folder (which appears by default) otherwise everything will be indexed.</li> see that the folder you added will be excluded from the project folder
<li>Click <b>OK</b>. Your view in C/C++ projects will now change. (in order to avoid including a folder twice). Repeat until all the
You should see your source folders designated with a "C" and all other source and header files icons that are in a non-source folder will change to a "hollow" C or H.</li> folders have been added. <br>
<b>Note: </b>Don't forget to remove the project folder (which
appears by default) otherwise everything will be indexed.</li>
<li>Click <b>OK</b>. Your view in C/C++ projects will now change.
You should see your source folders designated with a "C" and all other
source and header files icons that are in a non-source folder will
change to a "hollow" C or H.</li>
</ol> </ol>
<p><img height="21" width="143" alt="Related concepts"
src="../images/ngconcepts.gif" border="0">
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br> <br>
<a href="../concepts/cdt_c_search.htm">C/C++ search</a><br> <a href="../concepts/cdt_c_search.htm">C/C++ search</a><br>
<a href="../concepts/cdt_c_indexer.htm">C/C++ Indexer</a><br> <a href="../concepts/cdt_c_indexer.htm">C/C++ Indexer</a><br>
<a href="../concepts/cdt_c_indexer_prob_rep.htm">C/C++ Indexer Problem Reporting</a><br> <a href="../concepts/cdt_c_indexer_fullindexer.htm">Full C/C++ Indexer</a><br>
<a href="../concepts/cdt_c_indexer_open_close.htm">C/C++ Indexer Opening or Closing a project</a><br> <a href="../concepts/cdt_c_indexer_ctagsindexer.htm">CTags Indexer</a><br>
<a href="../concepts/cdt_c_indexer_prog_bar.htm">C/C++ Indexer Progress Bar</a></p> <a href="../concepts/cdt_c_indexer_open_close.htm">C/C++ Indexer
Opening or Closing a project</a><br>
<a href="../concepts/cdt_c_indexer_prog_bar.htm">C/C++ Indexer Progress
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21"><br> Bar</a></p>
<a href="../tasks/cdt_t_sel_search.htm">Selection Searching for C/C++ elements</a><br> <p><img height="21" width="143" alt="Related tasks"
<a href="../tasks/cdt_t_endis_indexer.htm">Enable/Disable the C/C++ Indexer</a><br> src="../images/ngtasks.gif" border="0"><br>
<a href="../tasks/cdt_t_indexer_prob_rep.htm">C/C++ Indexer Problem Reporting</a><br> <a href="../tasks/cdt_t_sel_search.htm">Selection Searching for C/C++
<a href="../tasks/cdt_t_indexer_timeout.htm">C/C++ Indexer - Indexer Timeout</a></p> elements</a><br>
<a href="cdt_t_indexer_enablefull.htm">Enable/Disable the Full C/C++
Indexer</a><br>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21"> <a href="cdt_t_indexer_enablectags.html">Enable/Disable the CTags
<br><a href="../reference/cdt_u_search_pref.htm">Search, C/C++ Preferences window</a> Indexer</a><a href="../tasks/cdt_t_endis_indexer.htm"><br>
<br><a href="../reference/cdt_u_search.htm">C/C++ search page, Search dialog box</a> </a><a href="../tasks/cdt_t_indexer_timeout.htm"></a></p>
<br><a href="../reference/cdt_u_mprop_indexer.htm">C/C++ Project Properties, Managed, Indexer</a> <p><img height="21" width="143" alt="Related reference"
<br><a href="../reference/cdt_u_sprop_indexer.htm">C/C++ Project Properties, Standard, Indexer</a></p> src="../images/ngref.gif" border="0">
<br>
<a href="../reference/cdt_u_search.htm">C/C++ search page, Search
dialog box</a>
<br>
<a href="../reference/cdt_u_mprop_indexer.htm">C/C++ Project
Properties, Managed, Indexer</a>
<br>
<a href="../reference/cdt_u_sprop_indexer.htm">C/C++ Project
Properties, Standard, Indexer</a></p>
<p>&nbsp;</p> <p>&nbsp;</p>
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" > <img alt="IBM Copyright Statement" src="../images/ng00_04a.gif">
</body> </body>
</html>
</html>

View file

@ -1,10 +1,12 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<meta content="en-us" http-equiv="Content-Language"> <meta http-equiv="Content-Language" content="en-us">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Indexing a large project</title> <title>Indexing a large project</title>
<link href="../help.css" type="text/css" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="../help.css">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
</head> </head>
<body> <body>
<h1>Indexing a large project<br> <h1>Indexing a large project<br>
@ -22,9 +24,9 @@ approach to importing large projects.<br>
<li>Uncheck the <span style="font-weight: bold;">Use default</span> <li>Uncheck the <span style="font-weight: bold;">Use default</span>
button and browse to the root directory of your project</li> button and browse to the root directory of your project</li>
</ul> </ul>
<p>&nbsp;&nbsp;&nbsp; <img alt="Import project setup" <p>&nbsp;&nbsp;&nbsp; <img style="width: 596px; height: 310px;"
src="file:///E:/CDT/3.1/eclipse/org.eclipse.cdt.doc.user/images/indexer_import_largeproject1.PNG" src="file:///E:/CDT/3.1/eclipse/org.eclipse.cdt.doc.user/images/indexer_import_largeproject1.PNG"
style="width: 596px; height: 310px;"></p> alt="Import project setup"></p>
<ul> <ul>
<li>Click on <span style="font-weight: bold;">Next <br> <li>Click on <span style="font-weight: bold;">Next <br>
</span></li> </span></li>
@ -40,8 +42,8 @@ will disable all indexing for now<br>
</li> </li>
</ul> </ul>
<span style="font-weight: bold;"><img <span style="font-weight: bold;"><img
src="../images/indexer_import_largeproject2.PNG" alt="Null Indexer" style="width: 654px; height: 444px;" alt="Null Indexer"
style="width: 654px; height: 444px;"><br> src="../images/indexer_import_largeproject2.PNG"><br>
</span> </span>
<br> <br>
<ul> <ul>
@ -60,32 +62,28 @@ use on the project.</li>
<br> <br>
By following these steps, you are making sure that the time spent By following these steps, you are making sure that the time spent
indexing will produce meaningful results.<br> indexing will produce meaningful results.<br>
<p><img alt="Related concepts" src="../images/ngconcepts.gif" <p><img style="border: 0px solid ; width: 143px; height: 21px;"
style="border: 0px solid ; width: 143px; height: 21px;"> src="../images/ngconcepts.gif" alt="Related concepts">
<br> <br>
<a href="../concepts/cdt_c_search.htm">C/C++ search</a><br> <a href="../concepts/cdt_c_search.htm">C/C++ search</a><br>
<a href="../concepts/cdt_c_indexer.htm">C/C++ Indexer</a><br> <a href="../concepts/cdt_c_indexer.htm">C/C++ Indexer</a><br>
<a href="../concepts/cdt_c_indexer_prob_rep.htm">C/C++ Indexer Problem <a href="../concepts/cdt_c_indexer_open_close.htm"></a><a
Reporting</a><br> href="../concepts/cdt_c_indexer_fullindexer.htm">Full C/C++ Indexer</a><br>
<a href="../concepts/cdt_c_indexer_open_close.htm">C/C++ Indexer <a href="../concepts/cdt_c_indexer_ctagsindexer.htm">CTags Indexer</a><br>
Opening or Closing a project</a><br>
<a href="../concepts/cdt_c_indexer_prog_bar.htm">C/C++ Indexer Progress <a href="../concepts/cdt_c_indexer_prog_bar.htm">C/C++ Indexer Progress
Bar</a></p> Bar</a></p>
<p><img alt="Related tasks" src="../images/ngtasks.gif" <p><img style="border: 0px solid ; width: 143px; height: 21px;"
style="border: 0px solid ; width: 143px; height: 21px;"><br> src="../images/ngtasks.gif" alt="Related tasks"><br>
<a href="../tasks/cdt_t_sel_search.htm">Selection Searching for C/C++ <a href="../tasks/cdt_t_sel_search.htm">Selection Searching for C/C++
elements</a><br> elements</a><br>
<a href="../tasks/cdt_t_endis_indexer.htm">Enable/Disable the C/C++ <a href="cdt_t_indexer_enablefull.htm">Enable/Disable the Full C/C++
Indexer</a><br> Indexer</a><br>
<a href="../tasks/cdt_t_indexer_timeout.htm">C/C++ Indexer - Indexer <a href="cdt_t_indexer_enablectags.html">Enable/Disable the CTags
Timeout</a><br> Indexer</a><a href="../tasks/cdt_t_indexer_timeout.htm"></a><br>
<a href="../tasks/cdt_t_set_src_fold.htm">Setting Source Folders</a><br> <a href="../tasks/cdt_t_set_src_fold.htm">Setting Source Folders</a><br>
</p> </p>
<p><img alt="Related reference" src="../images/ngref.gif" <p><img style="border: 0px solid ; width: 143px; height: 21px;"
style="border: 0px solid ; width: 143px; height: 21px;"> src="../images/ngref.gif" alt="Related reference">
<br>
<a href="../reference/cdt_u_search_pref.htm">Search, C/C++ Preferences
window</a>
<br> <br>
<a href="../reference/cdt_u_search.htm">C/C++ search page, Search <a href="../reference/cdt_u_search.htm">C/C++ search page, Search
dialog box</a> dialog box</a>
@ -96,10 +94,8 @@ Properties, Managed, Indexer</a>
<a href="../reference/cdt_u_sprop_indexer.htm">C/C++ Project <a href="../reference/cdt_u_sprop_indexer.htm">C/C++ Project
Properties, Standard, Indexer</a></p> Properties, Standard, Indexer</a></p>
<p>&nbsp;</p> <p>&nbsp;</p>
<img style="width: 324px; height: 14px;" alt="IBM Copyright Statement" <img src="../images/ng00_05a.gif" alt="IBM Copyright Statement"
src="../images/ng00_05a.gif"> style="width: 324px; height: 14px;">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title></title>
<br> <br>
<br> <br>
</body> </body>