Java

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

Java Preferences

Option

Description

Default

Link Packages view selection to active editor

Choose to turn this option on or off.

  • If this option is turned on, then when an open resource is selected in the Packages view, the editor containing that resource becomes the active editor in the editor area. Similarly, when you click in an editor in the editor area, the corresponding resource is selected in the Packages view.
  • If this option is turned off, then selecting an open file in the Packages view has no effect on the editor area. In order to make an editor active, you will have to either click the editor's tab or double-click the resource in the Packages view.

On

Action on double-clicking in the Packages view on containers is "Go Into"

When this option is turned on, then when you double-click a container, a Go Into command is executed.

See Go Into

Off

Use 'src' and 'bin' folders as default in new Java projects

When this option is on, new projects by default use source folders for Java source and create an initial folder called src. The generated CLASS files are stored in an output folder called bin.

If the option is turned off, Java source and CLASS files are stored in the root of new projects by default.

See Java Settings Page

Off

Open a new type hierarchy inside...

When you choose to open a type, the type is opened in either a new Hierarchy perspective or the Hierarchy view.

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.

...the Type Hierarchy View