diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/ICHelpContextIds.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/ICHelpContextIds.java index 27e3ad57d23..a590352116b 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/ICHelpContextIds.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/ICHelpContextIds.java @@ -128,14 +128,10 @@ public interface ICHelpContextIds { // view parts public static final String TYPE_HIERARCHY_VIEW= PREFIX + "type_hierarchy_view_context"; //$NON-NLS-1$ - public static final String PACKAGES_VIEW= PREFIX + "package_view_context"; //$NON-NLS-1$ - public static final String PROJECTS_VIEW= PREFIX + "projects_view_context"; //$NON-NLS-1$ - public static final String PACKAGES_BROWSING_VIEW= PREFIX + "packages_browsing_view_context"; //$NON-NLS-1$ - public static final String TYPES_VIEW= PREFIX + "types_view_context"; //$NON-NLS-1$ - public static final String MEMBERS_VIEW= PREFIX + "members_view_context"; //$NON-NLS-1$ + public static final String CALL_HIERARCHY_VIEW= PREFIX + "call_hierarchy_view_context"; //$NON-NLS-1$ + public static final String INCLUDE_BROWSER_VIEW= PREFIX + "include_browser_view_context"; //$NON-NLS-1$ public static final String OPEN_ACTION = PREFIX + "open_action"; //$NON-NLS-1$ - public static final String OPEN_C_BROWSING_PERSPECTIVE_ACTION = PREFIX + "open_c_browsing_perspective_action"; //$NON-NLS-1$ public static final String OPEN_PROJECT_ACTION = PREFIX + "open_project_action"; //$NON-NLS-1$ public static final String OPEN_TYPE_ACTION = PREFIX + "open_type_action"; //$NON-NLS-1$ diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHViewPart.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHViewPart.java index 250607d1710..667c412d049 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHViewPart.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHViewPart.java @@ -51,6 +51,7 @@ import org.eclipse.ui.IWorkbenchPage; import org.eclipse.ui.IWorkbenchPartSite; import org.eclipse.ui.IWorkingSet; import org.eclipse.ui.PartInitException; +import org.eclipse.ui.PlatformUI; import org.eclipse.ui.actions.ActionFactory; import org.eclipse.ui.contexts.IContextActivation; import org.eclipse.ui.contexts.IContextService; @@ -69,6 +70,7 @@ import org.eclipse.cdt.ui.actions.OpenViewActionGroup; import org.eclipse.cdt.ui.refactoring.actions.CRefactoringActionGroup; import org.eclipse.cdt.internal.ui.CPluginImages; +import org.eclipse.cdt.internal.ui.ICHelpContextIds; import org.eclipse.cdt.internal.ui.IContextMenuConstants; import org.eclipse.cdt.internal.ui.editor.ICEditorActionDefinitionIds; import org.eclipse.cdt.internal.ui.search.actions.SelectionSearchGroup; @@ -215,7 +217,9 @@ public class CHViewPart extends ViewPart { if (ctxService != null) { fContextActivation= ctxService.activateContext(CUIPlugin.CVIEWS_SCOPE); } - } + + PlatformUI.getWorkbench().getHelpSystem().setHelp(fPagebook, ICHelpContextIds.CALL_HIERARCHY_VIEW); + } @Override public void dispose() { diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/includebrowser/IBViewPart.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/includebrowser/IBViewPart.java index 194dd9cc14b..a5cd6958fbe 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/includebrowser/IBViewPart.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/includebrowser/IBViewPart.java @@ -63,6 +63,7 @@ import org.eclipse.ui.IViewSite; import org.eclipse.ui.IWorkbenchPage; import org.eclipse.ui.IWorkbenchPartSite; import org.eclipse.ui.PartInitException; +import org.eclipse.ui.PlatformUI; import org.eclipse.ui.actions.ActionFactory; import org.eclipse.ui.actions.ContributionItemFactory; import org.eclipse.ui.actions.OpenFileAction; @@ -90,6 +91,7 @@ import org.eclipse.cdt.core.model.IWorkingCopy; import org.eclipse.cdt.ui.CUIPlugin; import org.eclipse.cdt.internal.ui.CPluginImages; +import org.eclipse.cdt.internal.ui.ICHelpContextIds; import org.eclipse.cdt.internal.ui.navigator.OpenCElementAction; import org.eclipse.cdt.internal.ui.util.Messages; import org.eclipse.cdt.internal.ui.viewsupport.EditorOpener; @@ -276,7 +278,9 @@ public class IBViewPart extends ViewPart if (ctxService != null) { fContextActivation= ctxService.activateContext(CUIPlugin.CVIEWS_SCOPE); } - } + + PlatformUI.getWorkbench().getHelpSystem().setHelp(fPagebook, ICHelpContextIds.INCLUDE_BROWSER_VIEW); + } @Override public void dispose() { diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties index 0dd66f25d80..5b166eda776 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties @@ -429,12 +429,12 @@ MarkOccurrencesConfigurationBlock_stickyOccurrences= &Keep marks when the select #Scalability Preferences ScalabilityPreferencePage_description= Settings for editor scalability ScalabilityPreferencePage_detection_group_label= Scalability mode detection -ScalabilityPreferencePage_detection_label= Alert me when scalability mode should be turned on -ScalabilityPreferencePage_trigger_lines_label= Enable scalability mode options when the number of lines in the file is more than: +ScalabilityPreferencePage_detection_label= Alert me when scalability mode will be turned on +ScalabilityPreferencePage_trigger_lines_label= Enable scalability mode when the number of lines in the file is more than: ScalabilityPreferencePage_error=Value must be an integer between {0} and {1}. ScalabilityPreferencePage_scalabilityMode_group_label= Scalability mode settings ScalabilityPreferencePage_scalabilityMode_label= Enable all scalability mode options -ScalabilityPreferencePage_reconciler_label= Disable editor live parsing (Outline view, semantic highlighting and editor folding will also be disabled) +ScalabilityPreferencePage_reconciler_label= Disable editor live parsing (Outline view, semantic highlighting and folding will also be disabled) ScalabilityPreferencePage_syntaxColor_label= Disable syntax coloring in editor ScalabilityPreferencePage_semanticHighlighting_label= Disable semantic highlighting in editor ScalabilityPreferencePage_contentAssist_label= Disable parsing-based content assist proposals diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THViewPart.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THViewPart.java index f9e71e53aa8..b7832afe1d3 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THViewPart.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THViewPart.java @@ -67,6 +67,7 @@ import org.eclipse.ui.IWorkbenchPage; import org.eclipse.ui.IWorkbenchPartSite; import org.eclipse.ui.IWorkingSet; import org.eclipse.ui.PartInitException; +import org.eclipse.ui.PlatformUI; import org.eclipse.ui.actions.ActionFactory; import org.eclipse.ui.contexts.IContextActivation; import org.eclipse.ui.contexts.IContextService; @@ -89,6 +90,7 @@ import org.eclipse.cdt.ui.actions.OpenViewActionGroup; import org.eclipse.cdt.ui.refactoring.actions.CRefactoringActionGroup; import org.eclipse.cdt.internal.ui.CPluginImages; +import org.eclipse.cdt.internal.ui.ICHelpContextIds; import org.eclipse.cdt.internal.ui.IContextMenuConstants; import org.eclipse.cdt.internal.ui.editor.ICEditorActionDefinitionIds; import org.eclipse.cdt.internal.ui.search.actions.SelectionSearchGroup; @@ -237,7 +239,9 @@ public class THViewPart extends ViewPart implements ITHModelPresenter { if (ctxService != null) { fContextActivation= ctxService.activateContext(CUIPlugin.CVIEWS_SCOPE); } - } + + PlatformUI.getWorkbench().getHelpSystem().setHelp(fPagebook, ICHelpContextIds.TYPE_HIERARCHY_VIEW); + } @Override public void dispose() { diff --git a/doc/org.eclipse.cdt.doc.user/contexts_CDT.xml b/doc/org.eclipse.cdt.doc.user/contexts_CDT.xml index 8e673b2ab33..929efb696d6 100644 --- a/doc/org.eclipse.cdt.doc.user/contexts_CDT.xml +++ b/doc/org.eclipse.cdt.doc.user/contexts_CDT.xml @@ -87,6 +87,11 @@ + + This page allows to configure editor scalability mode options. The scalability mode helps to deal with very large source files. + + Click below to see help. - Click below to see help. + Use the C/C++ Search to search for occurrences of C/C++ elements. - Click below to see help. + This dialog allows to open up the declaration of C/C++ classes, structures, unions, typedefs, enumerations, namespaces, functions, methods, variables and macros. @@ -497,4 +502,16 @@ label="Preferred Toolchains tab"/> + + This view displays a type's hierarchy. + + + + The Call Hierarchy shows all callers or callees of the given function. + + + + This view displays include file relationships. + + diff --git a/doc/org.eclipse.cdt.doc.user/images/c_cpp_app_preferences.png b/doc/org.eclipse.cdt.doc.user/images/c_cpp_app_preferences.png index b5712988806..7ce8577dd9d 100644 Binary files a/doc/org.eclipse.cdt.doc.user/images/c_cpp_app_preferences.png and b/doc/org.eclipse.cdt.doc.user/images/c_cpp_app_preferences.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/c_cpp_preferences.png b/doc/org.eclipse.cdt.doc.user/images/c_cpp_preferences.png index a7aa9c059c7..4abefc19715 100644 Binary files a/doc/org.eclipse.cdt.doc.user/images/c_cpp_preferences.png and b/doc/org.eclipse.cdt.doc.user/images/c_cpp_preferences.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/editor_general_preferences.png b/doc/org.eclipse.cdt.doc.user/images/editor_general_preferences.png index 09a192af06f..8f5679c4e01 100644 Binary files a/doc/org.eclipse.cdt.doc.user/images/editor_general_preferences.png and b/doc/org.eclipse.cdt.doc.user/images/editor_general_preferences.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/editor_hover_preferences.png b/doc/org.eclipse.cdt.doc.user/images/editor_hover_preferences.png index 39e38a02de6..d535618a326 100644 Binary files a/doc/org.eclipse.cdt.doc.user/images/editor_hover_preferences.png and b/doc/org.eclipse.cdt.doc.user/images/editor_hover_preferences.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/editor_scalability_preferences.png b/doc/org.eclipse.cdt.doc.user/images/editor_scalability_preferences.png new file mode 100644 index 00000000000..f5cb582d7e9 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/editor_scalability_preferences.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/editor_typing_preferences.png b/doc/org.eclipse.cdt.doc.user/images/editor_typing_preferences.png index 5d65cddc34a..bbd29c2a1a9 100644 Binary files a/doc/org.eclipse.cdt.doc.user/images/editor_typing_preferences.png and b/doc/org.eclipse.cdt.doc.user/images/editor_typing_preferences.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/indexer_ctags_ctagsmissing.PNG b/doc/org.eclipse.cdt.doc.user/images/indexer_ctags_ctagsmissing.PNG deleted file mode 100644 index 954733f754b..00000000000 Binary files a/doc/org.eclipse.cdt.doc.user/images/indexer_ctags_ctagsmissing.PNG and /dev/null differ diff --git a/doc/org.eclipse.cdt.doc.user/images/indexer_ctags_properties.PNG b/doc/org.eclipse.cdt.doc.user/images/indexer_ctags_properties.PNG deleted file mode 100644 index 4c4798e6a9b..00000000000 Binary files a/doc/org.eclipse.cdt.doc.user/images/indexer_ctags_properties.PNG and /dev/null differ diff --git a/doc/org.eclipse.cdt.doc.user/images/indexer_ctags_wrongtagformat.PNG b/doc/org.eclipse.cdt.doc.user/images/indexer_ctags_wrongtagformat.PNG deleted file mode 100644 index 28627c401e8..00000000000 Binary files a/doc/org.eclipse.cdt.doc.user/images/indexer_ctags_wrongtagformat.PNG and /dev/null differ diff --git a/doc/org.eclipse.cdt.doc.user/images/indexer_fullindexer_properties.PNG b/doc/org.eclipse.cdt.doc.user/images/indexer_fullindexer_properties.PNG deleted file mode 100644 index 8400fd9271f..00000000000 Binary files a/doc/org.eclipse.cdt.doc.user/images/indexer_fullindexer_properties.PNG and /dev/null differ diff --git a/doc/org.eclipse.cdt.doc.user/images/indexer_import_largeproject1.PNG b/doc/org.eclipse.cdt.doc.user/images/indexer_import_largeproject1.PNG deleted file mode 100644 index d17b724d4a7..00000000000 Binary files a/doc/org.eclipse.cdt.doc.user/images/indexer_import_largeproject1.PNG and /dev/null differ diff --git a/doc/org.eclipse.cdt.doc.user/images/indexer_import_largeproject2.PNG b/doc/org.eclipse.cdt.doc.user/images/indexer_import_largeproject2.PNG deleted file mode 100644 index 484586410ba..00000000000 Binary files a/doc/org.eclipse.cdt.doc.user/images/indexer_import_largeproject2.PNG and /dev/null differ diff --git a/doc/org.eclipse.cdt.doc.user/images/indexer_inclusionnotfound.PNG b/doc/org.eclipse.cdt.doc.user/images/indexer_inclusionnotfound.PNG deleted file mode 100644 index 624253186d9..00000000000 Binary files a/doc/org.eclipse.cdt.doc.user/images/indexer_inclusionnotfound.PNG and /dev/null differ diff --git a/doc/org.eclipse.cdt.doc.user/images/indexer_inclusionnotfound_problemsview.PNG b/doc/org.eclipse.cdt.doc.user/images/indexer_inclusionnotfound_problemsview.PNG deleted file mode 100644 index 555a7ca9049..00000000000 Binary files a/doc/org.eclipse.cdt.doc.user/images/indexer_inclusionnotfound_problemsview.PNG and /dev/null differ diff --git a/doc/org.eclipse.cdt.doc.user/images/indexer_preference_page.PNG b/doc/org.eclipse.cdt.doc.user/images/indexer_preference_page.PNG index 16989214e27..8c7df665439 100644 Binary files a/doc/org.eclipse.cdt.doc.user/images/indexer_preference_page.PNG and b/doc/org.eclipse.cdt.doc.user/images/indexer_preference_page.PNG differ diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ceditor_pref.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ceditor_pref.htm index 4c364ecfa25..fd9b11c486e 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ceditor_pref.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ceditor_pref.htm @@ -20,6 +20,7 @@ Folding preferences
Hovers preferences
Mark Occurrences preferences
+ Scalability preferences Syntax Coloring preferences
Templates preferences
Typing preferences diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ref.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ref.htm index 2a34765995d..91f2472f8d1 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ref.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ref.htm @@ -58,6 +58,7 @@ Folding preferences
Hovers preferences
Mark Occurrences preferences
+ Scalability preferences
Syntax Coloring preferences
Templates preferences
Typing preferences
diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_views.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_views.htm index 0acb56eeefc..3baeaa1c1ed 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_views.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_views.htm @@ -22,6 +22,7 @@ Editor view
Console view
Call Hierarchy view
+ Type Hierarchy view
Problems view
Properties view
Search view
diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_editor_scalability.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_editor_scalability.htm new file mode 100644 index 00000000000..3380e096619 --- /dev/null +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_editor_scalability.htm @@ -0,0 +1,75 @@ + + + + + + + Editor Scalability preferences + + + + +

Scalability preferences

+ +

Use the Scalability preference panel to configure options for dealing with large source files. Click Window > Preferences > C/C++ > Editor > Scalability to make changes.

+Scalability Preferences + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Scalability Preference Options
Alert me when scalability mode will be turned on
If enabled, an information dialog pops up when a large file is opened + with the C/C++ Editor which exceeds the specified line limit.
Enable scalability mode options when the number of lines in the file is more than
If the number of lines in a file exceeds the specified number the C/C++ Editor will + enable scalability mode and all scalability mode options below will take effect.
Enable all scalability mode options
If enabled, all options below are enabled, too.
Disable editor live parsing
If enabled, parsing while typing will be disabled. + This disables also other features like Outline view, semantic highlighting, folding, etc.
Disable semantic highlighting
If enabled, C/C++ identifiers will not be colored.
Disable syntax coloring
If enabled, no coloring of keywords, comments and literals is done.
Disable parsing-based content assist proposals
If enabled, content assist proposals which require parsing the file will not be available.
Disable content assist auto activation
If enabled, content assist will not be activated automatically on trigger sequences, like '.', '::' or '->'.
+ +

Related concepts
+Coding aids

+

Related tasks +
+Customizing the C/C++ editor
+Working with Content Assist

+

Related reference +
+C/C++ editor preferences

+Code Style preferences

+IBM Copyright Statement + + + + diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_editor_typing.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_editor_typing.htm index f9ffbdcc5cb..7947529bb5b 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_editor_typing.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_editor_typing.htm @@ -52,6 +52,11 @@
Escape text when pasting into a literal string
If enabled, special characters in pasted strings are escaped when pasted into an existing string literal. + +
Automatically indent - New lines and braces
+ If enabled, a new line or brace will be indented according to the Code Style preferences. + If disabled, the default Text Editor indentation strategy is applied (copy indent from previous line) + diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_parser_codereader_cache_pref.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_parser_codereader_cache_pref.htm deleted file mode 100644 index e74a488bb9e..00000000000 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_parser_codereader_cache_pref.htm +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - CodeReader Buffer Size preferences - - - - -

CodeReader Buffer Size preferences

- -

You can define what the size of the CodeReader Buffer Size is. The CodeReader Buffer is used by the parser to load files from a cache which prevents unnecessary disk and network I/O.

-

Parser Preferences Dialog Box

-
-
Size (MB)
-
Specify the size of the CodeReader Buffer in MB (default is 64).
-
- - - - diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_include_browser_view.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_include_browser_view.htm new file mode 100644 index 00000000000..625a0454d5e --- /dev/null +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_include_browser_view.htm @@ -0,0 +1,144 @@ + + + + + + + Include Browser View + + + + +

+ Include Browser View +

+

+ This view shows the include relationships between source and header files. +

+

+ Include Browser toolbar buttons +

+

+ The Include Browser tree shows files included by the focused file or files including the focused file depending on the selection made in the + toolbar. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ Command +

+
+

+ Description +

+
+

+ Show Next Include +

+
+

+ This command selects the next include directive of the current file and opens it in the editor. +

+
+

+ Show Previous Include +

+
+

+ This command selects the previous include directive of the current file and opens it in the editor. +

+
+

+ Hide System Includes +

+
+

+ This command toggles the display of include directives with angle brackets (<>). +

+
+

+ Hide Includes from Inactive Code +

+
+

+ This command toggles the display of include directives which are contained in an inactive conditional preprocessor branch. +

+
+

+ Show Includers +

+
+

+ Show files including the currently focused file. +

+
+

+ Show Included Files +

+
+

+ Show files included by the currently focused file. +

+
+

+ Show History List +

+
+

+ This menu displays a history of previously displayed include relationships. +

+
+

+ Refresh View Content +

+
+

+ This command updates the view content by running a new query on the index database. +

+
+

+ Related reference
+ Views +

+ + diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_indexer_preference.html b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_indexer_preference.html index 434074fca34..8ea77f84485 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_indexer_preference.html +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_indexer_preference.html @@ -31,11 +31,15 @@ Skip all references (Call Hierarchy and Search will not work) - Activate this checkbox to not index references in indexed files. This prevents some portions of CDT from working, like Call Hierarchy and Search. + Activate this checkbox to not index references to save space and gain performance. This prevents some portions of CDT from working, like Call Hierarchy and search for references. - Skip type references (Search fort type references will not work) - Activate this checkbox to not index type references in indexed files. This prevents some portions of CDT from working, Search. + Skip type references (Search for type references will not work) + Activate this checkbox to not index type references. This prevents some portions of CDT from working, like Search for type references. + + + Skip macro references (Search for macro references will not work) + Activate this checkbox to not index macro references. This prevents some portions of CDT from working, like Search for macro references. Files to index up-front diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_type_hierarchy_view.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_type_hierarchy_view.htm new file mode 100644 index 00000000000..4799356240f --- /dev/null +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_type_hierarchy_view.htm @@ -0,0 +1,217 @@ + + + + + + + Type Hierarchy View + + + + +

+ Type Hierarchy View +

+

+ This view shows the hierarchy of a type. The Type Hierarchy view consists of two panes: +

+ +

+ Type Hierarchy tree pane toolbar buttons +

+

+ The type hierarchy tree shows supertypes, suptypes or both of a given type depending on the selection made in the + toolbar. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ Command +

+
+

+ Description +

+
+

+ Show the Type Hierarchy +

+
+

+ This command displays the type in its full context (i.e., superclasses and subclasses) in the Hierarchy view. +

+
+

+ Show the Supertype Hierarchy +

+
+

+ This command displays the supertypes in the Hierarchy view. The tree starts at the selected type and + displays the result of traversing up the hierarchy. +

+ Note: The selected type is always at the top level, in the upper-left corner. +
+

+ Show the Subtype Hierarchy +

+
+

+ This command displays the subtypes of the selected type in the Hierarchy view. The tree starts at the selected type and + displays the result of traversing down the hierarchy +

+ Note: The selected type is always at the top level, in the upper-left corner. +
+

+ Show History List +

+
+

+ This menu displays a history of previously displayed type hierarchies. +

+
+

+ Refresh +

+
+

+ This command updates the view content by running a new query on the index database. +

+
+

+ Cancel +

+
+

+ This command cancels a currently running query. +

+
+

+ Layout > Hierarchy View Only +

+
+

+ Hides the member list pane. +

+
+

+ Member list pane toolbar buttons +

+

+ The member list pane displays the members of the currently selected type in the type hierarchy tree pane. +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ Command +

+
+

+ Description +

+
+

+ Show All Inherited Members +

+
+

+ Shows or hides all methods and fields inherited by base classes. When this option is set, the name of the type that defines the method is appended to the method + name. +

+
+

+ Hide Fields +

+
+

+ Shows or hides the fields. +

+
+

+ Hide Static Fields and Methods +

+
+

+ Shows or hides the static fields and methods. +

+
+

+ Hide Non-Public Members +

+
+

+ Shows or hides the static fields and methods. +

+
+

+ Related reference
+ Views +

+ + 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 deleted file mode 100644 index 0f6fbecd928..00000000000 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_indexer_enablectags.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - Enable/Disable CTags Indexer - - - -

Enable/Disable CTags Indexer

-

Users can choose which indexer they wish to use on a specific -project by bringing up the project properties and
-selecting an indexer from the available indexer list.
-

-

CTags Indexer Properties

-

Enable CTags Indexer

-

Enabling the  indexer -

-To enable the CTags Indexer: -
    -
  1. Right click on the project and select Properties > C/C++ -Indexer
  2. -
  3. Select the CTags Indexer (declarations only) from the -list of available indexers
    -
  4. -
  5. Click OK
  6. -
-This will throw away whatever old index was around for the current -project and start a new reindex of the entire project using the CTags
-indexer and whatever options are present on the property page.
-

CTags Location
-

-By default, the CTags Indexer expects that Ctags has been added to the -path and will try to use it. To use another CTags:
-
-
    -
  1. Right click on the project and select Properties > C/C++ -Indexer
  2. -
  3. Click the Use the specified CTags button
  4. -
  5. Click on the Browse... -button
  6. -
  7. Navigate to the location of the desired CTags
  8. -
  9. Select the CTags executable and click Open
  10. -
-The path of  the given CTags executable is displayed in the CTags -location box. When indexing the current project from now
-on, the CTags indexer will now use whatever CTags is displayed on the -path.
-
-If the CTags indexer can't find the location of your CTags or can't use -the specified CTags it will let you know in the form
-of a warning marker.
-
-CTags missing
-

Include Files
-

-Checking this box will cause the CTags indexer to index all of the -files on the project's include paths.
-
-

CTags File
-

-By default, the CTags indexer runs CTags on your project and stores the -output in an internal file before adding the entries
-to the index. If you have an already existing CTag output file, you can -get import it into the index. To do this:
-
-
    -
  1. Right click on the project and select Properties > C/C++ -Indexer
  2. -
  3. Click the Import existing CTags -file button
  4. -
  5. Browse to the CTags location
  6. -
  7. Click OK
  8. -
  9. Close and reopen the -project
    -
  10. -
-The CTags Indexer will now attempt to import your CTags file.
-
-Note that the CTags indexer expects a certain format for the CTags -file. In order for an external file to be imported
-by the CTags indexer, the following conditions must be met:
-
    -
  1. Exuberant CTags version 5.5.4 was used
  2. -
  3. The following options are run with CTags:
  4. -
- -
-If the CTags indexer cannot parse the given CTag file it will tell you -what the problem is in the form of a warning marker:
-
-CTag wrong format
-
-

Disable CTags Indexer

-
-To disable the CTags Indexer: -
    -
  1. Right click on the project and select Properties > C/C++ -Indexer
  2. -
  3. Select the No Indexer (search -based features will not work correctly)
  4. -
  5. Click OK
  6. -
-This will stop any ongoing indexes and disconnect the project from -reacting to resource changes.
-

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 Full C/C++ -Indexer
-Indexing a large project
-Setting Source Folders
-

-

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

-

 

-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 deleted file mode 100644 index d9cffd5d7cd..00000000000 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_indexer_enablefull.htm +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - Enable/Disable Full C/C++ Indexer - - - -

Enable/Disable Full C/C++ Indexer

-

Users can choose which indexer they wish to use on a specific -project by bringing up the project properties and
-selecting an indexer from the available indexer list.
-

-

Full C/C++ Indexer Properties

-

Enable Full C/C++ Indexer

-

Build Info

-
-In order for the Full C/C++ Indexer to successfully index your project, -it is necessary to set up your project's build info.
-This build info is used by the parser to find the paths specified -within your source files. Note that without -any build info,
-the full C/C++ indexer will just skip -over all files.
-
-For Managed Make projects, -some build info is provided by default when a project gets first -created. This default info is
-enough to allow the indexer to index the entire project. However, it is -possible that some internal include paths could still be
-missing. In this case a warning marker will appear next to the -inclusion that was not found and a corresponding entry will appear
-in the Problems view.
-
-Preprocessor inclusion not found
-
-
-Inclusion Problems View
-
-For Standard Make projects, no -build info is provided by default. However, if you rebuild your project -the Scanner Discovery will
-kick in - regardless if you have an actual makefile -  and -populate some default build info. For more information see the Set Discovery
-Options
page.
-
-For both types of projects you can always add build paths manually by -right clicking on the project properties.
-

Enabling the  indexer

-
-To enable the Full C/C++ Indexer: -
    -
  1. Right click on the project and select Properties > C/C++ -Indexer
  2. -
  3. Select the Full C/C++ Indexer (declarations and cross -references)
  4. -
  5. Click OK
  6. -
-This will throw away whatever old index was around for the current -project and start a new reindex of the entire project using the full
-C/C++ Indexer.
-
-

Disable Full C/C++ Indexer

-
-To disable the Full C/C++ Indexer: -
    -
  1. Right click on the project and select Properties > C/C++ -Indexer
  2. -
  3. Select the No Indexer (search -based features will not work correctly)
  4. -
  5. Click OK
  6. -
-This will stop any ongoing indexes and disconnect the project from -reacting to resource changes.
-

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
-Indexing a large project
-Setting Source Folders
-

-

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

-

 

-IBM Copyright Statement - - 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 deleted file mode 100644 index 296b9c509be..00000000000 --- a/doc/org.eclipse.cdt.doc.user/tasks/indexer_importing_large_project.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - Indexing a large project - - - -

Indexing a large project
-

-

Although any indexer can be used to index an existing project at any -time, the following steps present a recommended
-approach to importing large projects.
-

- - -

    Import project setup

- - - -Null Indexer
-
-
- - - -
-By following these steps, you are making sure that the time spent -indexing will produce meaningful results.
-

Related concepts -
-C/C++ search
-C/C++ Indexer
-Full C/C++ Indexer
-CTags Indexer
-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
-Setting Source Folders
-

-

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

-

 

-IBM Copyright Statement -
-
- - diff --git a/doc/org.eclipse.cdt.doc.user/topics_Reference.xml b/doc/org.eclipse.cdt.doc.user/topics_Reference.xml index 7bbe1f14f10..fd71e838824 100644 --- a/doc/org.eclipse.cdt.doc.user/topics_Reference.xml +++ b/doc/org.eclipse.cdt.doc.user/topics_Reference.xml @@ -18,6 +18,8 @@ + + @@ -70,6 +72,7 @@ +