A VS Code extension to lint & format your code using Spotless (via Gradle).
Supports all languages that Spotless supports.
Before using this extension, ensure you've configured Spotless correctly in your Gradle build file. (Run
Spotless formatting & diagnostics are disabled by default. Change the settings to adjust this behaviour:
Format on Save
If there are multiple formatters for a language type, set Spotless to be the default:
Other Optional Settings
Disable other formatters to improve the performance, for example:
How it Works
This extension runs the
The vscode => Spotless interface is provided by the Gradle Tasks extension.
View logs by selecting