Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lleslie2 opened this issue Nov 21, 2022 · 0 comments
Open

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

lleslie2 opened this issue Nov 21, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@lleslie2
Copy link

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?

@lleslie2 lleslie2 added the bug Something isn't working label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants