Options Window: Editor

See Also

You use this panel to adjust the properties that control the look and behavior of the Source Editor. You can modify general editor properties and properties for specific types of editors (such as the Java editor and the XML editor).

You can access this panel by choosing Tools > Options from the main menu, and then clicking Editor in the left pane of the Options window.

The Editor panel contains the following tabs for customizing editor behaviour:

General tab

This tab enables you to specify the following general editor settings:

Indentation 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 Space. The Expand Template On drop-down list also contains the options of Shift-Space, Enter, and Tab.

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
Configuring the Source Editor
Folding Blocks of Code in Java Files
Folding Blocks of Code in JSP or HTML Files
Using Code Completion
Using the Options Window

Legal Notices