Editing Source Files

Use the Source Editor to view, create, and edit your Java source code, as well as HTML files, plain text files, and files specific to IDE modules such as the JavaServer Pages module.

Within the Source Editor, you can quickly and easily create your own code with the help of Source Editor abbreviations, automatic formatting, and the code completion and word match features. You can also jump to bookmarked locations, recently visited locations, or a method or field declaration or even another file based on the location of the insertion point. Other standard editor functions are naturally supported.

The Source Editor is tightly integrated with the other major components of the IDE. As you work with the IDE to create and change user interfaces, classes, methods, variables, and properties, Java source files are automatically generated and updated in the Source Editor. As you compile and debug your code, you can jump directly to breakpoints and error lines in the Source Editor.

There are a multitude of user-configurable keyboard shortcuts for the Source Editor that enable you to quickly navigate through source files, modify and create text, search text, open other files, and so on.

For help using the Source Editor, see:

Source Editor

Opening a File in the Source Editor

Creating New Code

Using Source Editor Abbreviations

Formatting Code

Using the Jump List

Using Source Editor Bookmarks

Finding and Replacing Text

Using the Word Match Feature

Using Java and HTML Completion

Configuring the Source Editor

For information about using and setting the Source Editor shortcuts, see:

Editor Shortcuts

Setting Keyboard Shortcuts

Legal Notices