Java Editor Preferences

The following Java editor preferences can be set on the Opens the Java Editor preference page Java > Editor preference page and its sub-pages.

Note that some options that are generally applicable to text editors can be configured on the text editor preference page.

Option Description Default
Smart caret positioning in Java names (overrides platform behavior)

If enabled, there are additional word boundaries inside |Camel|Case| Java names.

On

Report problems as you type

If enabled, the editor marks errors and warnings as you type, even if you do not save the editor contents. The problems are updated after a short delay.

On

Bracket highlighting

If enabled, the Java editor highlights parenthesis, bracket or curly braces, based on which sub-option is selected.

The color of the bracket highlight is specified with Appearance color options.

On

Matching bracket

If enabled, whenever the cursor is next to a bracket, its opening or closing counter part is highlighted.

On

Matching bracket and caret location

If enabled, whenever the cursor is next to a bracket, both the bracket and its opening or closing counter part are highlighted.

Off

Enclosing brackets

If enabled, the Java editor highlights the closest bracket pair enclosing the cursor.

Off

Light bulb for quick assists

If enabled, a light bulb shows up in the vertical ruler whenever a quick assist is available. See the quick assist section for a list of the available assists.

Off

Only show the selected Java element

If enabled, the Java editor will only show the selected Java element which is currently selected (i.e. in the Outline View or the Package Explorer).

Off

Appearance color options

The colors of various Java editor appearance features are specified here.

Matching brackets highlight
The color of brackets highlight.
Parameter hints background
The background color of the parameter hint window
Parameter hints foreground
The foreground color of the parameter hint window
Completion overwrite background
The background color of the completion overwrite window
Completion overwrite foreground
The foreground color of the completion overwrite window
Source hover background
The background color for the source hover. The source hover shows the source code of the element under the mouse pointer.

default colors

Java editor Java editor
Code formatter preferences
Java outline
Java content assist
Quick Fix
Quick Assist