-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
"There is no formatter for 'gradle' files installed." #90
Comments
This can happen if you installed "Gradle Language Support". Reproducible with
I guess it because installing Gradle Language Support make the build.gradle file recoginsed as gradle file (without that, it's detected as groovy file). Groovy Lint probably doesn't explicitly stated gradle file as one of its supported format. |
Mmmm maybe Gradle Language Support extension "steals" the handle of .gradle files from VsCode Groovy Lint :/ Or VsCode remove Gradle from extensions associated to Groovy :/ Of VsCode simply changed their way to detect a formatter (according to the doc, registerDocumentFormattingEditProvider must be used and it not present on VsCode GroovyLint sources) I'll try to have a look in my spare time, but if you have tume i'll be happy to validate a PR :) |
I have the same issue. How is this issue going now ? Thanks. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this issue should stay open, please remove the |
@NatoBoram @bitevo @abcfy2 @dyno is the issue still happening with latest version ? |
Still exists. I've set gradle to use your plugin to format in setting.json: "[gradle]": {
"editor.defaultFormatter": "NicolasVuillamy.vscode-groovy-lint"
} But I still got this issue. |
But lucky after set file associations |
This issue has been automatically marked as stale because it has not had recent activity. If you think this issue should stay open, please remove the |
VsCode Groovy Lint does not use VsCode formatting APIs (but it should ! ) https://code.visualstudio.com/blogs/2016/11/15/formatters-best-practices Maybe u'd like to try a PR ? :) |
This issue has been automatically marked as stale because it has not had recent activity. If you think this issue should stay open, please remove the |
Hi! I'm trying to format a gradle file, but I got this error.
The text was updated successfully, but these errors were encountered: