Options Window: Editor

See Also

You use this panel to adjust some general properties that control the look and behavior of the Source Editor.

You can access this panel by choosing Tools > Options from the main menu, and then clicking the Editor category.

This panel contains the following tabs where you can set editor options.

General tab

Code Folding

Code Completion

As you are typing in the Source Editor, you can use the IDE's code completion feature to find code snippets and have them filled in for you automatically. You can set the following code completion properties.

Formatting tab

This tab enables you to specify the following Java source code formatting settings:

The Preview pane displays how the applied changes will appear in the Source Editor.

Code Templates tab

Use this tab to modify the abbreviations for terms that you want the editor to expand automatically. Select a language from the drop-down list to see the abbreviations available. For each language you can do the following:

You can use the Expand Template On drop-down list to change the key or key combination that is used to expand the abbreviations. By default, abbreviations are expanded when you press Tab. The Expand Template On drop-down list also contains the options of Space, Shift-Space, and Enter.

Using special code template syntax, you can add further functionality to new or existing abbreviations.

Macros tab

Use this tab to edit, add, and remove Source Editor macros. The macro names and shortcuts are listed in the upper pane. The Macro Code editor in the lower pane displays the macro code and enables you to edit the code directly.

See Also
Using the Options Window

Legal Notices