-
Notifications
You must be signed in to change notification settings - Fork 16
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
Checkstyle not working with visual studio 1.43.0 on Mac #274
Comments
Same here. I'm using: Visual Studio Code 1.43.2 on Arch Linux After I set the checkstyle configuration file, it created a new |
I just tested in Arch Linux as well and setting it to 8.30 with the embedded google_checks.xml file doesn't do anything. ¿What local checkstyle.xml file are you using? |
I'm using a custom checkstyle. Make sure that |
@getaceres Could you share a sample project to us? |
Sure, for example this simple project: https://github.com/getaceres/webflux-simple-demo executing mvn clean install will find several checkstyle violations while VSCode finds none. |
On Mac, I observed you have to use the full path to point to the XML as ${workspaceFolder} does not seem to actually resolve to anything. |
Ubuntu 20.04.2 LTS I am having this exact problem. Although, if I try to set it in the user or workspace settings I get the following error:
UPDATE
If I try to use a version beyong 8.41 I get the following error:
I don't know if this is because of some changes to the actual checkstyle format in 8.42 and beyond or if it is this plugin. |
I'm using the following environment:
Visual Studio Code 1.43.0 on MacOS Catalina
Java Support 0.58.0
Checkstyle Plugin 1.3.0
When I execute the command "Set the checkstyle configuration file" I get a notification saying
"Successfully set the Checkstyle configuration." but nothing changes in the editor and in the output of the plug in I see the following message:
"Checkstyle configuration file not set yet, skip the check."
No matter what file I select. I tried with the built in /google_checks.xml and /sun_checks.xml and also with https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml but the result is the same. This message and the checkstyle rules are not applied. I don't see any checkstyle error in any file editor and if I select the command "Check code with checkstyle" nothing happens.
The text was updated successfully, but these errors were encountered: