You can customize the Content Assist feature on the Contents Assist page of the C/C++ Editor Preferences window. To change the Content Assist preferences click
-Window > Preferences > C/C++ > C++ Editor > Content Assist.
+
You can customize the Content Assist feature on the Contents Assist panel of the Preferences window. To change the Content Assist preferences click
+Window > Preferences > C/C++ > Editor > Content Assist.
-
-
Search scope for completion proposals
-
You can configure the Content Assist feature to select proposals from items contained only in the current file and included files, or from the current project.
-
-
Insert single proposals automatically
-
Inserts an element into your code when the Content Assist feature finds only one proposal.
-
-
Present proposals in alphabetical order
-
Proposals, by default, appear in order of relevance determined by context, scope and prefix. Alternatively, you can configure the Content Assist feature to order its proposals alphabetically.
-
-
Content Assist parsing timeout (ms)
-
For very large projects, the Content Assist feature might slow the response of the plug-in as the Content Assist feature parses the project for proposals. This setting stops the Content Assist parse when it reaches the specified threshold.
-
-
Auto activation
-
Certain predefined triggers force the Content Assist feature to activate. You can disable the predefined triggers with these checkboxes.
-
-
Auto activation delay
-
Specifies the number of milliseconds before Content Assist is activated, in Autoactivation mode.
-
-
Background for completion proposals
-
Specifies the background color of the Content Assist dialog box.
-
-
Foreground for completion proposals
-
Specifies the foreground color of the Content Assist dialog box.
-
-
Completion Proposal Filter
-
Completion proposal filters may have been supplied with your eclipse CDT distribution.
- Completion proposal filters can sort and order the proposals
- provided by the Content Assist feature to best suit your needs.
- Select the desired content assist filter from the list of available filters.
-
-
-
+
+
Content Assist Preference Options
+
+
+
+
+
+
+
Insert single proposals automatically
+
Inserts an element into your code when the Content Assist feature finds only one proposal.
+
+
+
Insert common prefixes automatically
+
Inserts common prefixes.
+
+
+
Completion Proposal Filter
+
Completion proposal filters may have been supplied with your Eclipse CDT distribution.
+ Completion proposal filters can sort and order the proposals provided by the Content Assist feature to best suit your needs.
+ Select the desired content assist filter from the list of available filters.
+
+
+
Enable "." as trigger
+
Enable to use "." as a trigger for auto-completion.
+
+
+
Enable "->" as trigger
+
Enable to use "->" as a trigger for auto-completion.
+
+
+
Enable "::" as trigger
+
Enable to use "::" as a trigger for auto-completion.
+
+
+
delay (ms)
+
Specifies the number of milliseconds before Content Assist is activated.
You can customize the appearance of the C/C++ editor hover behavior on the Hovers page of the Preferences window.
+
You can customize the appearance of the C/C++ editor hover behavior on the Hovers panel of the Preferences window.
-
+
+
Hovers Preference Options
+
+
+
+
+
+
+
Enable editor problem annotation
+
When selected problems found will be highlighted in the editor.
+
+
+
Text Hover key modifier preferences
+
You can select hot-keys to enable alternate hover behavior. For example, a mouse over while pressing the <Ctrl> key will link to the element's source declaration.
+
+
+
+
-
Enable editor problem annotation
-
When selected problems found will be highlighted in the editor.
-
Text Hover key modifier preferences:
-
You can select hot-keys to enable alternate hover behavior such as a mouse over while pressing the <Ctrl> key will link to the element's source declaration.
You can manipulate any of the common code templates that are predefined within the CDT. To modify, delete, export,
-import, or create your own templates click Window > Preferences > C/C++ > Code Templates.
+
Templates preferences
+
Use the Templates preference panel to manipulate any of the common code templates predefined within CDT or create your own. To modify, delete, export,
+import, or create your own templates click Window > Preferences > C/C++ > Templates.
-
-
New
-
Creates a new code template.
-
Edit
-
Edits the code template that is selected in the list.
-
Remove
-
Removes the selected code templates from the list.
-
Import
-
Imports a code template.
-
Export
-
Exports the selected code templates.
-
Export All
-
Exports all templates in the list.
-
Enable All
-
Makes all templates available when you invoke the Content Assist feature.
-
Disable All
-
Makes all templates unavailable when you invoke the Content Assist feature.
-
+
+
Templates Preference Options
+
+
+
+
+
+
+
New...
+
Opens the New Template dialog to create a new code template.
+
+
+
Edit...
+
Opens the Edit Template dialog to edit the selected code template.
+
+
+
Remove
+
Removes the selected code templates from the list.
+
+
+
Restore Removed
+
Restores templates deleted by the last Remove action.
+
+
+
Revert to Default
+
Removes the last edits made to the selected template restoring it to it's unmodified state.
+
+
+
Import...
+
Imports a code template.
+
+
+
Export...
+
Exports the selected code templates.
+
+
+
Use code formatter
+
Enable to apply the currently selected code style to the code template.