Spotless Gradle
JetBrainsa1396f88-bba1-47f5-bc82-62ac6440cafa · v—
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 <a href="https://github.com/ragurney/sp
Rating distribution
Reviews 8
Works great :)
Awesome way to apply the best formatter available right from within the IDE!
Worked great the first time!
Plugin has been great in general, but a colleague got the following error when he added a new file to his project today: Cannot read the array length because "" is null Running gradle spotlessApply ran successfully; having that task run with the build task in IntelliJ also ran successfully. But when using this plugin to format a file (or all files even), he received this error, leading me to...
Any chance you can hook the 'Reformat All Files With Spotless' as a commit check? Then I can still use my own formatting and before commit it will always be compliant with the remote.
I really missed this being integrated into the Save actions of IntelliJ, just like Prettier for example...
Is there something for Spotless Maven ? (spotless-maven-plugin)
Please make it compatible with IntelliJ IDEA 2022.3.
Similar in “Formatting”
EditorConfig
JetBrains
google-java-format
Adapter for Eclipse Code Formatter
a23f723e-b2d6-48dc-b7a7-5f898c9b0eb5
Tailwind Formatter
d8fa7f77-6115-4866-92c8-6066a5f12c7b
ESLint Restart Service Action
64822859-3c10-4a00-b311-158d63878554
Advanced Java Folding
JetBrains