Pair Completion, Smart Enter, and Smart Semicolons

See Also

When you edit Java classes, the Source Editor does "smart" matching of pair characters such as brackets, parentheses, and quotation marks. When you type one of these characters, the Source Editor automatically inserts the closing character. When you type a semicolon (;), the semicolon is automatically inserted at the end of the statement. If you type the closing character yourself, the Source Editor removes the character it added automatically, so the closing character is not duplicated.

In addition, you can:

To turn off the pair matching and smart enter features:

  1. Choose Tools > Options, click Editor, and select the General tab.
  2. Deselect the Insert Closing Brackets Automatically checkbox.
See Also
Configuring the Source Editor
Editor Shortcuts

Legal Notices