An IntelliJ plugin to allow running the spotless gradle task from within the IDE on the current file selected in the editor.
You may find the spotless action via Code > Reformat Code with Spotless.
Report bugs or contribute enhancements on GitHub (ragurney/spotless-intellij-gradle)
spotlessApply
can be run on the current file via Code > Reformat Code with Spotless. You may also assign a keyboard shortcut to this action for convenience.
NOTE: Before using this extension, ensure you've configured Spotless correctly in your Gradle build file. (Run ./gradlew spotlessDiagnose to prepare & validate Spotless.)
Settings/Preferences > Plugins > Marketplace > Search for "Spotless Gradle" > Install Plugin
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
This plugin runs the spotlessApply
Gradle task on the current file using the Spotless IDE hook.
See CONTRIBUTING.md
See CHANGELOG.md
See License