Content Assist preferences

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.

Content Assist Preferences Dialog Box

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.

Related concepts
Coding aids

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

Related reference
C/C++ editor preferences

IBM Copyright Statement