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

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 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.

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 code template syntax, you can add further functionality to templates or create new templates.

For lists of default code template abbreviations included in the IDE, see Code Template Abbreviations: Quick Reference

The web tutorial also describes the code template syntax and includes use cases. It is useful not only for PHP developers!

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