Skip to content

Unable to get spotless for gradle to run via onsave in VSCode #340

@lleslie2

Description

@lleslie2

Hi,

I'm attempting to get this extension running for a java project. I can run spotless via CLI using gradlew spotlessApply but when I try adding the following settings
"java.format.enabled": false, "files.trimTrailingWhitespace": false, "spotlessGradle.diagnostics.enable": true, "spotlessGradle.format.enable": true, "editor.codeActionsOnSave": { "source.fixAll.spotlessGradle": true }, "[java]": { "editor.defaultFormatter": "richardwillis.vscode-spotless-gradle", },
I'm not able to see any changes after save or any sort of output in the Gradle for Java plugins output. Any recommendations?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions