diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer.htm index 4dfef337766..0ee6b8d437d 100644 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer.htm @@ -41,7 +41,6 @@ declaration information.
Full C/C++ Indexer
CTags Indexer
C/C++ search
-C/C++ Indexer Problem Reporting
C/C++ Indexer Opening or Closing a project
C/C++ Indexer Progress Bar

@@ -49,13 +48,14 @@ a project
width="143" height="21">
Selection Searching for C/C++ elements
-Enable/Disable the C/C++ +Enable/Disable the Full +C/C++ Indexer
-C/C++ Indexer Problem -Reporting
-C/C++ Indexer - Indexer -Timeout
-Setting Source Folders
+Enable/Disable the +CTags +Indexer
+Setting Source Folders

Related reference diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer_ctagsindexer.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer_ctagsindexer.htm index f03d2c78b37..c09778d3dd5 100644 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer_ctagsindexer.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer_ctagsindexer.htm @@ -1,10 +1,10 @@ - - + + CTags Indexer - +

CTags Indexer

@@ -23,28 +23,26 @@ indexing as the Full C/C++ indexer. Specifically:
  • limited preprocessing capabilties
  • -

    Related concepts
    +

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

    -

    Related tasks
    +

    Related tasks
    Selection Searching for C/C++ elements
    -Enable/Disable the C/C++ +Enable/Disable the Full C/C++ Indexer
    -C/C++ Indexer Problem -Reporting
    -C/C++ Indexer - Indexer -Timeout
    +Enable/Disable the CTags +Indexer
    Setting Source Folders

    -

    Related reference +

    Related reference
    Search, C/C++ Preferences window @@ -58,7 +56,7 @@ Properties, Managed, Indexer C/C++ Project Properties, Standard, Indexer

     

    -IBM Copyright Statement +IBM Copyright Statement diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer_fullindexer.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer_fullindexer.htm index be75141a5f3..8def4a973e9 100644 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer_fullindexer.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer_fullindexer.htm @@ -1,10 +1,10 @@ - - + + Full C/C++ Indexer - +

    Full C/C++ Indexer

    @@ -18,28 +18,29 @@ quicker and more accurate results.

    This indexer provides the most complete set of information but can be potentially long running, especially on larger projects.

    -

    Related concepts
    +

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

    -

    Related tasks
    +

    Related tasks
    Selection Searching for C/C++ elements
    -Enable/Disable the C/C++ +Enable/Disable the Full +C/C++ +Indexer
    +Enable/Disable the +CTags Indexer
    -C/C++ Indexer Problem -Reporting
    -C/C++ Indexer - Indexer -Timeout
    Setting Source Folders

    -

    Related reference +

    Related reference
    Search, C/C++ Preferences window @@ -53,7 +54,7 @@ Properties, Managed, Indexer C/C++ Project Properties, Standard, Indexer

     

    -IBM Copyright Statement +IBM Copyright Statement diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer_open_close.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer_open_close.htm index e6f71873645..5a27af708c3 100644 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer_open_close.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer_open_close.htm @@ -1,49 +1,52 @@ - - - -C/C++ Indexer Opening or Closing a project - + + + C/C++ Indexer Opening or Closing a project + - -

    C/C++ Indexer Opening or Closing a project

    - -

    The user opening a previously closed project results in the entire project being re-indexed.

    - -

    Closing a project results in the index being deleted. Search features will not reperot any results for closed projects.

    - - - -

    Related concepts +

    The user opening a previously closed project results in the entire +project being re-indexed.

    +

    Closing a project results in the index being deleted. Search +features will not report any results for closed projects.

    +

    Related concepts
    C/C++ search
    C/C++ Indexer
    -C/C++ Indexer Problem Reporting
    +Full C/C++ Indexer
    +CTags Indexer
    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 tasks
    +Selection Searching for C/C++ +elements
    +Enable/Disable the Full +C/C++ +Indexer
    +Enable/Disable the +CTags +Indexer
    Setting Source Folders

    - - -

    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

    - +

    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

     

    -IBM Copyright Statement - +IBM Copyright Statement - - \ No newline at end of file + diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer_prob_rep.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer_prob_rep.htm deleted file mode 100644 index f52dbc14e52..00000000000 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_indexer_prob_rep.htm +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - -C/C++ Indexer Problem Reporting - - - - - -

    C/C++ Indexer Problem Reporting

    - -

    C/C++ Index Problem reporting places a problem marker on the editor and adds an item to the error list for each preprocessor or semantic problem reported by the parser. Note that the markers will only show up the next time the file is indexed.

    -

    Note: This feature is not recommended for large projects.

    - -

    Preprocessor Problems

    -

    In order for search and search related features to work properly, it is imperative that include paths are set up properly so that the parser can find source files and index them. -If you suspect that your search results are lacking, you can turn on the preprocessor problem markers. These will place a marker on the line that has the preprocessor problem.

    -

    This includes: -

    - -

    Semantic Problems

    - -

    The problem markers can also indicate semantic errors in your code.

    -

    The errors flagged include: -

    - - - -

    Related concepts -
    -C/C++ search
    -C/C++ 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 C/C++ Indexer
    -C/C++ Indexer Problem Reporting
    -C/C++ Indexer - Indexer Timeout
    -Setting Source Folders
    -

    - - -

    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

    - -

     

    -IBM Copyright Statement - - - - \ No newline at end of file diff --git a/doc/org.eclipse.cdt.doc.user/images/search.png b/doc/org.eclipse.cdt.doc.user/images/search.png index 455c7bc287c..dd79fdecc9e 100644 Binary files a/doc/org.eclipse.cdt.doc.user/images/search.png and b/doc/org.eclipse.cdt.doc.user/images/search.png differ diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_search.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_search.htm index b491deecfaa..abcdcfbc049 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_search.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_search.htm @@ -1,151 +1,196 @@ - - - - C/C++ search - + + + C/C++ search + -

    C/C++ search

    - -

    Search Dialog Box

    -

    -

    Search string
    -
    Specifies a search string.
    -
    The search functions support the following wildcards:
    -

    - -
    Case sensitive
    -
    Searches will return results which match capitalization specified in the search string precisely.
     

    -
    Search for
    -
    Specify the types of elements to include in the search:

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Search forDescription
    Class/StructIncludes classes and structs in your search.
    FunctionSearches for global functions or functions in a namespace (functions that are not members of a class, struct, or union).
    VariableSearches for variables that are not members of a class, struct, or union.
    UnionSearches for unions.
    MethodSearches for methods that are members of a class, struct, or union.
    FieldSearches for fields that are members of a class, struct, or union.
    EnumerationSearches for enumerations.
    EnumeratorSearches for enumerators.
    NamespaceSearches for namespaces.
    Any ElementIncludes all elements in the search.

    - -
    Limit to
    - -
    Specify the types of context to search:

    -
    - - - - - - - - - - - - - - - - - - - - - -
    Limit toDescription
    DeclarationsLimits the search to declarations.
    DefinitionsLimits the search to definitions (for functions, methods, variables, and fields).
    ReferencesLimits the search to references.
    All OccurrencesIncludes declarations, definitions, and references in the search.

    - -
    Scope
    -
    Choose the scope of the search:

    -
    - - - - - - - - - - - - - - - - - - - - -
    ScopeAvailabilityDescription
    Workspaceall elementsSearches in the full workspace
    Selected Resourcesall elementsSearches the project selected in the Projects view
    Workings Setall elementsSearches in a working set

    +

    Search Dialog Box

    +

    +
    Search string
    +
    Specifies a search string.
    +
    The search functions support the following wildcards:
    + +
    Case sensitive
    +
    Searches will return results which match capitalization specified +in the search string precisely.
    +
    +
    Search for
    +
    Specify the types of elements to include in the search:
    +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Search forDescription
    Class/StructIncludes classes and structs in your search.
    FunctionSearches for global functions or functions in a namespace +(functions that are not members of a class, struct, or union).
    VariableSearches for variables that are not members of a class, +struct, or union.
    UnionSearches for unions.
    MethodSearches for methods that are members of a class, struct, +or union.
    FieldSearches for fields that are members of a class, struct, or +union.
    EnumerationSearches for enumerations.
    EnumeratorSearches for enumerators.
    NamespaceSearches for namespaces.
    Typedef
    +
    Searches for typedef.
    +
    Macro
    +
    Searches for macro.
    +
    Any ElementIncludes all elements in the search.
    +
    +
    +
    Limit to
    +
    Specify the types of context to search:
    +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + +
    Limit toDescription
    DeclarationsLimits the search to declarations.
    DefinitionsLimits the search to definitions (for functions, methods, +variables, and fields).
    ReferencesLimits the search to references.
    All OccurrencesIncludes declarations, definitions, and references in the +search.
    +
    +
    +
    Scope
    +
    Choose the scope of the search:
    +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ScopeAvailabilityDescription
    Workspaceall elementsSearches in the full workspace
    Selected Resourcesall elementsSearches the resources selected in the Projects view
    Enclosing Projects
    +
    all elements
    +
    Searches in the enclosing +projects (plus the include paths) of the selected resource
    +
    Workings Setall elementsSearches in a working set
    +
    +
    Working sets can be created and used from within the search dialog.
    -

    - - - - -

    Related concepts
    +

    Related concepts
    Coding aids
    C/C++ search

    -

    Related tasks
    +

    Related tasks
    Searching for C/C++ elements
    -Customizing the C/C++ editor

    -

    Related reference +Customizing the C/C++ +editor

    +

    Related reference
    C/C++ editor preferences
    Search action
    Search view

    -

    -Red Hat Copyright Statement
    -IBM Copyright Statement -

    +Red Hat Copyright Statement
    +IBM Copyright Statement

    - - \ No newline at end of file + diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_endis_indexer.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_endis_indexer.htm deleted file mode 100644 index e47b6ddc6f7..00000000000 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_endis_indexer.htm +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - -Enable/Disable the C/C++ Indexer - - - - - -

    Enable/Disable the C/C++ Indexer

    - -

    The C/C++ indexer is on by default. You can enable/disable indexing on any project from the C/C++ perspective.

    -

    C/C++ Indexer Properties

    - -

    The indexer can be enabled or disabled at any time by: - -

      -
    1. Right clicking on the project
    2. -
    3. Selecting Properties
    4. -
    5. Navigate to the C/C++ Indexer page
    6. -
    7. Select/Deselect the Enable C/C++ Indexing checkbox.
    8. -

    - -

    If you enable the index on a project that had the index disabled, the indexer will reindex all of the project’s source folders.

    - -

    If you disable the index on a project, it will no longer react to any resource change events. If the indexer is indexing at the time you disable the index, it will throw away the rest of the index jobs at that point.

    - -

    If some projects in your workspace have the indexer disabled, then search will display a warning message in the status bar. If all projects have the index disabled then Search will not allow you to continue until at least one project has the index enabled.

    - -

    You can also disable the indexer when you first create a new project by clicking on the C/C++ Indexer tab (which is present in both Standard and Managed project wizards) and deselecting the Enable C/C++ Indexing checkbox.

    - -

    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
    -C/C++ Indexer Problem Reporting
    -C/C++ Indexer - Indexer Timeout
    -Setting Source Folders
    -

    - - -

    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

    - -

     

    -IBM Copyright Statement - - - - \ No newline at end of file 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 712fae08169..8c098852ddf 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 @@ -5,6 +5,8 @@ Enable/Disable CTags Indexer +

    Enable/Disable CTags Indexer

    @@ -126,8 +128,6 @@ reacting to resource changes.

    C/C++ search
    C/C++ Indexer
    -C/C++ Indexer Problem -Reporting
    C/C++ Indexer Opening or Closing a project
    C/C++ Indexer Progress @@ -136,10 +136,8 @@ Bar

    src="../images/ngtasks.gif" alt="Related tasks">
    Selection Searching for C/C++ elements
    -Enable/Disable the C/C++ -Indexer
    -C/C++ Indexer - Indexer -Timeout
    +Enable/Disable the Full C/C++ +Indexer
    Setting Source Folders

     

    IBM Copyright Statement - -

    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 094cb54faa1..6e446c62819 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 @@ -84,8 +84,6 @@ reacting to resource changes.

    C/C++ search
    C/C++ Indexer
    -C/C++ Indexer Problem -Reporting
    C/C++ Indexer Opening or Closing a project
    C/C++ Indexer Progress @@ -94,10 +92,8 @@ Bar

    src="../images/ngtasks.gif" border="0">
    Selection Searching for C/C++ elements
    -Enable/Disable the C/C++ +Enable/Disable the CTags Indexer
    -C/C++ Indexer - Indexer -Timeout
    Setting Source Folders

    Related reference - - - - - -C/C++ Indexer Problem Reporting - - - - - -

    C/C++ Indexer Problem Reporting

    - -

    C/C++ Index Problem reporting places a problem marker on the editor and adds an item to the error list for each preprocessor or semantic problem reported by the parser. Note that the markers will only show up the next time the file is indexed.

    -

    C/C++ Indexer Properties

    -

    To enable C/C++ Index Problem reporting: -

      -
    1. Right click on the project and select Properties > C/C++ Indexer
    2. -
    3. Select the Enable C/C++ Index problem reporting checkbox
    4. -
    5. Click OK
    6. -

    - - -

    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 - Indexer Timeout
    -Setting Source Folders
    -

    - - -

    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

    - -

     

    -IBM Copyright Statement - - - - \ No newline at end of file diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_indexer_timeout.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_indexer_timeout.htm deleted file mode 100644 index 54cf4de4c10..00000000000 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_indexer_timeout.htm +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - -C/C++ Indexer – Indexer Timeout - - - - - -

    C/C++ Indexer – Indexer Timeout

    - -

    If the indexer gets stuck on a particular file while indexing there is a timeout watchdog, which will terminate the indexing attempt after a certain period.

    -

    C/C++ Search Preferences

    -

    This can be set as follows: -

      -
    1. Click Windows > Preferences > C/C++ > Search
    2. -
    3. Enter the timeout value in milliseconds into the text field.
    4. -
    5. Click OK
    6. -

    - - -

    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
    -Setting Source Folders
    -

    - - -

    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

    - -

     

    -IBM Copyright Statement - - - - \ No newline at end of file