Java

On this page, indicate your preferences for the general Java settings.

Java Preferences

Option

Description

Default

Link Java Browsing views selection to active editor
On:
When the active editor is changed, Java Browsing views are updated to display and select the current editor contents.
Off:
Activating an editor has no effect on Java Browsing views.

Note: Java Browsing views can be found in the Java Browsing perspective.

On
Link Package Explorer selection to active editor
On:
When the active editor is changed, the Package Explorer view is updated to display and select the current editor contents.
Off:
Activating an editor has no effect on the Package Explorer view.
On
Link Type Hierarchy view selection to active editor
On:
When the active editor is changed, the Type Hierarchy view is updated to display and select the current editor contents.
Off:
Activating an editor has no effect on the Type Hierarchy view.
Off
Update Java views
On save only:

Java elements displayed in all views except the Outline view are not updated until a compilation unit is saved. The views reflect the current state of the workspace, without consideration of working copies.

While editing:

Java elements displayed in all views always reflect the current state of the workspace, including working copies.

While editing
Action on double click in the Package Explorer
Go into the selected element:

When you double click a container, a Go Into command is executed.

See Go Into from the Navigate menu.

Expand the selected element:

When you double click a container, it is expanded and its children are revealed.

Expand the selected element
When opening a Type Hierarchy
Open a new Type Hierarchy Perspective

Opens a new Type Hierarchy perspective whenever a Type Hierarchy view is opened.

Show the Type Hierarchy View in the current perspective

The Type Hierarchy view is displayed in the current perspective.

Note: On the Workbench preferences page, you can choose whether new perspectives open in a new window, in the current window, or as a replacement for the current perspective.

Show the Type Hierarchy View in the current perspective

Related concepts

Java views

Related tasks

Using the Package Explorer

Using the Hierarchy view

Related reference

Package Explorer view
Hierarchy view