Options Window: Java Code

See Also

You use this panel to adjust the display of Java code in the Source Editor. You can modify settings for code hints for code errors and warnings and how different Java code elements are displayed.

You can access this panel by choosing Tools > Options from the main menu, and then clicking the Java Code category.

This panel contains the following tabs where you can set editor options.

Formatting tab

This tab enables you to set formatting rules for Java code. To set the formatting rules, choose a category of code in the left pane to display the available formatting settings. When you change a formatting setting, the effects of the change are displayed in the preview window in the right pane.

Hints tab

This tab enables you to specify and configure the Java code hints that can help you resolve potential errors in your source code. The left pane of the tab displays the types of Java code errors grouped by type. Expand the node to view the specific errors that the IDE checks. If selected, the IDE displays hints in the Source Editor when that error occurs in your code. You can configure how a specific hint is displayed by selecting the error in the left pane and then choosing a display option from the drop-down list in the right pane.

Mark Occurrences tab

Use this tab to select the Java elements you want to be marked in the Source Editor.

Tasklist tab

Use this tab to enable or disable Task Lists in Java source files. If enabled, you can use specific character patterns in your source code to indicate tasks that need to be resolved. You can specify the character patterns in ToDo Tasks tab in the Miscellaneous category in the Options window. You can view tasks by choosing Window > Task List (Ctrl-6) from the main menu to open the Task List window.

If you enable Task Lists, you can then choose to enable task dependencies and if files with task list items are marked with badges in the Projects window.

See Also
Task List Window
Using the Options Window

Legal Notices