Source Editor

The Source Editor is a full-featured text editor that is integrated with the Form Editor, Explorer, Object Browser, compiler, and debugger. You can open the Source Editor by double-clicking an editable element. For example, double-click a Java or text object in the Explorer or Object Browser to open the Source Editor.

The Source Editor is the default viewer for all Java, HTML, JSP, and plain text files, as well as for any other type of file specified by an IDE module.

Java source code displayed in the Source Editor window is syntactically colored. For example, all keywords are shown in blue and all comments in light gray. Guarded text generated by the Form Editor has a blue background and cannot be edited. All colors are configurable.

A faint vertical line in the Source Editor marks a suggested right margin for your text. This configurable margin is set to 80 characters from the left margin by default.

The bottom of the Source Editor window has one or more tabs used to view different documents. From each of these tabs, the document can be saved, closed, docked, undocked, or cloned.

Whenever the insertion point in the Source Editor window is immediately after a brace, bracket, or parenthesis, the matching brace, bracket, or parenthesis is highlighted.

Each modified and unsaved file in the Source Editor window has an asterisk (*) after its name on its tab and in the window title. You can save a file by choosing Save from the File menu or from the Source Editor window's contextual menu.



See also
Editing Source Files

Configuring the Source Editor

Legal Notices