IntelliJ Save Actions Configuration¶
Save Actions is a plugin for IntelliJ IDEA that automates code optimization tasks on file save, ensuring code quality without requiring manual intervention for routine formatting^[600-developer-intellij.md]. It functions by performing a designated set of actions whenever a file is explicitly saved^[600-developer-intellij.md].
Visual Indicators¶
When the Save Actions feature is active and a file has been modified but not yet saved, the editor tab will display an asterisk (*) next to the filename^[600-developer-intellij.md]. This indicator signals that the current state of the file differs from the saved version and that the configured actions will trigger upon the next save operation^[600-developer-intellij.md].
Configuration¶
Configuring the plugin typically involves accessing the IDE's settings to define which specific actions—such as code formatting, import optimization, or code cleanup—should be executed^[600-developer-intellij.md].
Auto-Save Timing¶
IntelliJ allows users to configure the auto-save behavior to trigger save actions at specific intervals^[600-developer-intellij.md]. The configuration for the delay between automatic saves can be adjusted in the system settings^[600-developer-intellij.md].
Sources¶
^[600-developer-intellij.md]
Related Concepts¶
- [[IntelliJ]]
- [[Code Style]]
- [[Plugin]]