xdev-software / intellij-plugin-save-actions

Supports configurable, Eclipse like, save actions, including "organize imports", "reformat code" and "rearrange code"
https://plugins.jetbrains.com/plugin/22113
Apache License 2.0
37 stars 3 forks source link
intellij intellij-plugin java jetbrains jetbrains-plugin save-actions

Latest version Build Quality Gate Status Feel free to leave a rating

Save Actions Plugin icon light Save Actions X

[!NOTE]
This plugin is a fork of dubreuia/intellij-plugin-save-actions and fishermans/intellij-plugin-save-actions and is kept in maintenance mode:

  • Keep the plugin up-to-date with the latest IDEA versions
  • Distribute the plugin on the IDEA marketplace
  • Fix serious bugs
  • Keep the repo in sync with XDEV's standards
  • Hardly used features may be removed to speed up development

There is no guarantee that work outside of this scope will be done.

Supports configurable, Eclipse like, save actions, including "optimize imports", "reformat code", "rearrange code", "compile file" and some quick fixes like "add / remove 'this' qualifier", etc. The plugin executes the configured actions when the file is synchronized (or saved) on disk.

Using the save actions plugin makes your code cleaner and more uniform across your code base by enforcing your code style and code rules every time you save. The settings file (see files location) can be shared in your development team so that every developer has the same configuration.

The code style applied by the save actions plugin is the one configured your settings at "File > Settings > Editor > Code Style". For some languages, custom formatter (Dartfmt, Prettier, etc.) may also be triggered by the save actions plugin. See the Editor Actions configuration for more information.

Features

All JetBrains products

Save actions plugin settings page

Java IDE products

Works in JetBrains IDE with Java support, like Intellij IDEA and AndroidStudio.

Save actions plugin settings page for Java

Installation

Installation guide for the latest release

[!TIP]
Development versions can be installed by adding the snapshot release channel as a plugin repository:
https://plugins.jetbrains.com/plugins/snapshot/list

Usage

Read the full usage guide here.

Contributing

See the contributing guide for detailed instructions on how to get started with our project.