Java Save Actions Preferences

Indicate your preferences for the Save Actions settings on the Java > Editor > Save Actions preference page.

A set of actions which are executed on each save of the Java editor can be specified on this page.

Option

Description

Default

Perform the selected actions on save

If enabled, then the selected actions below will be executed on save.

Off

Format source code

If enabled, then the source code will be formatted on each save. The code will be formatted according to the active profile selected on the Java > Code Style > Formatter preference page.

Off

Format all lines

If selected, all lines in the file will be formatted on save.

On

Format edited lines

If selected, only the lines that have been modified since the last save are formatted on save.

Off

Organize imports

If enabled, then the imports will be organized on each save. Change the organize import settings on the Java > Code Style > Organize Imports preference page.

On

Additional actions

If enabled, then additional actions will be executed on save. To add and remove actions select Configure....

Off

Java editor preference page
Clean Up preference page