
|
To configure JavaScript Content Assist options:
Go
to the JavaScript Content Assist preferences page, accessed from Window
| Preferences | JavaScript | Editor | Content Assist.

Configure
the following options, according to your preferences:
Insertion
Completion Inserts / Completion
Overwrites - Select whether choosing an item from the Code Assist list
will cause new code to be entered or existing code
to be overwritten.
Insert single proposals
automatically -If enabled, the code assist suggestion will be inserted
automatically when only one code assist option exists
Insert common prefixes
automatically - If enabled, Content Assist will
automatically insert the common prefix of all possible completions similar
to Unix shell expansion. This can be used repeatedly, even while the Content
Assist window is being displayed.
Fill
argument names on completion - If enabled, Content Assist will add arguments
when completing a method.
Guess filled function
arguments - If enabled, Content Assist will fill the arguments with the
best matching function, according to the context.
Sorting and Filtering
Sort proposals - Select
how the proposals should be sorted in the Content Assist list.
Hide proposals not visible
in the invocation context - If enabled, the Java element proposals are
limited by the rules of visibility. For example, private field proposals
of other classes would not be displayed.
Show camel case matches
- If enabled, camel case matches are displayed (e.g. NPE is expanded to
NullPointerException).
Hide forbidden references
- If enabled, references to JavaScript elements forbidden by access rules
are not displayed.
Hide discouraged references
- If enabled, references to JavaScript elements discouraged by access
rules are not displayed.
Hide deprecated references
- If enabled, references to deprecated JavaScript elements are not displayed.
Auto-activation
Note:
If this is unmarked, you can
display the Content Assist list by pressing Ctrl+Space.
Auto activation delay
- Determines the delay before the Content Assist box is automatically
displayed.
Auto-activation triggers
for JavaScript - Sets the characters that determine
JavaScript context.
Auto-activation triggers
for JSDoc: Sets the characters that determine JSDoc context.
Click Apply to apply your
settings.
|