From 7656bf39b8d145bdfcb0b567242ed99e3c3851ec Mon Sep 17 00:00:00 2001 From: Bogdan Gheorghe Date: Wed, 27 Jul 2005 22:05:29 +0000 Subject: [PATCH] User Docs for indexer --- .../tasks/cdt_t_indexer_enablectags.html | 5 +- .../tasks/cdt_t_indexer_enablefull.htm | 5 +- .../tasks/cdt_t_set_src_fold.htm | 116 +++++++++--------- .../indexer_importing_large_project.html | 50 ++++---- 4 files changed, 86 insertions(+), 90 deletions(-) diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_indexer_enablectags.html b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_indexer_enablectags.html index b1802eeda36..37017f0997e 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_indexer_enablectags.html +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_indexer_enablectags.html @@ -138,15 +138,12 @@ Bar

elements
Enable/Disable the Full C/C++ Indexer
-Importing a large project
+Indexing a large project
Setting Source Folders

Related reference
-Search, C/C++ Preferences -window -
C/C++ search page, Search dialog box
diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_indexer_enablefull.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_indexer_enablefull.htm index 549069b3c53..2987afc56e5 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_indexer_enablefull.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_indexer_enablefull.htm @@ -94,15 +94,12 @@ Bar

elements
Enable/Disable the CTags Indexer
-Importing a large project
+Indexing a large project
Setting Source Folders

Related reference
-Search, C/C++ Preferences -window -
C/C++ search page, Search dialog box
diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_set_src_fold.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_set_src_fold.htm index 876cc6b5d73..a021b7b7422 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_set_src_fold.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_set_src_fold.htm @@ -1,69 +1,75 @@ - - - -Setting Source Folders - + + + Setting Source Folders + - -

Setting Source Folders

- -

Note that source folders can only be currently used with Standard Make projects. - Managed Make projects treat the entire project as a source folder.

- -

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 of a subsystem that you work on. -All files inside source folders will be indexed and are, thus, searchable. -Note that any files pulled in by a file inside a source folder will also be indexed.

-

Set source folder

- - +

Note that source folders can only be currently used with Standard +Make projects. Managed Make projects treat the entire project as a +source folder.

+

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 +of a subsystem that you work on. All files inside source folders will +be indexed and are, thus, searchable. Note that any files pulled in by +a file inside a source folder will also be indexed.

+

Set source folder

To setup source folders: +

    -
  1. Right click on the project and select Properties > C/C++ Project Paths
  2. -
  3. Click on the Source tab
    - By default the entire project is a source folder, which means everything will be indexed. - This is reasonable for smaller projects but definitely not recommended for large projects.
  4. -
  5. Click Add folder to add the folders. - A dialog will explain exclusion filters have been added to nesting folders. - You will see that the folder you added will be excluded from the project folder (in order to avoid including a folder twice). - Repeat until all the folders have been added.
    - Note: Don't forget to remove the project folder (which appears by default) otherwise everything will be indexed.
  6. -
  7. Click OK. 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.
  8. +
  9. Right click on the project and select Properties > C/C++ +Project Paths
  10. +
  11. Click on the Source tab
    +By default the entire project is a source folder, which means +everything will be indexed. This is reasonable for smaller projects but +definitely not recommended for large projects.
  12. +
  13. Click Add folder to add the folders. A dialog will +explain exclusion filters have been added to nesting folders. You will +see that the folder you added will be excluded from the project folder +(in order to avoid including a folder twice). Repeat until all the +folders have been added.
    + Note: Don't forget to remove the project folder (which +appears by default) otherwise everything will be indexed.
  14. +
  15. Click OK. 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.
- - - -

Related concepts +

Related concepts
C/C++ search
C/C++ Indexer
-C/C++ Indexer Problem Reporting
-C/C++ Indexer Opening or Closing a project
-C/C++ Indexer Progress Bar

- - -

Related tasks
-Selection Searching for C/C++ elements
-Enable/Disable the C/C++ Indexer
-C/C++ Indexer Problem Reporting
-C/C++ Indexer - Indexer Timeout

- - -

Related reference -
Search, C/C++ Preferences window -
C/C++ search page, Search dialog box -
C/C++ Project Properties, Managed, Indexer -
C/C++ Project Properties, Standard, Indexer

- +Full C/C++ Indexer
+CTags Indexer
+C/C++ Indexer +Opening or Closing a project
+C/C++ Indexer Progress +Bar

+

Related tasks
+Selection Searching for C/C++ +elements
+Enable/Disable the Full C/C++ +Indexer
+Enable/Disable the CTags +Indexer
+

+

Related reference +
+C/C++ search page, Search +dialog box +
+C/C++ Project +Properties, Managed, Indexer +
+C/C++ Project +Properties, Standard, Indexer

 

-IBM Copyright Statement - +IBM Copyright Statement - - \ No newline at end of file + diff --git a/doc/org.eclipse.cdt.doc.user/tasks/indexer_importing_large_project.html b/doc/org.eclipse.cdt.doc.user/tasks/indexer_importing_large_project.html index 340396be5a5..12496d25149 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/indexer_importing_large_project.html +++ b/doc/org.eclipse.cdt.doc.user/tasks/indexer_importing_large_project.html @@ -1,10 +1,12 @@ - - + + Indexing a large project - + +

Indexing a large project
@@ -22,9 +24,9 @@ approach to importing large projects.
  • Uncheck the Use default button and browse to the root directory of your project
  • -

        Import project setup   

    + alt="Import project setup">

    Null Indexer
    + style="width: 654px; height: 444px;" alt="Null Indexer" + src="../images/indexer_import_largeproject2.PNG">