-
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
${workspaceFolder} doesn't work in settings.json #332
Comments
I'm having a similar problem, except I have to specify the
EDIT: in other words it completely ignores folder |
Having the same issue |
+1 to this and thank you for posting this issue! I believe this is because my project is using the VSCode i.e. if you have something like this it's fine:
But the moment you add a Workspace file as simple as {
"folders": [
{
"path": "."
}
],
"settings": {}
} Both As a workaround I was able to do this: {
"folders": [
{
"name": "Test 1",
"path": "test1"
},
{
"name": "Test 2",
"path": "test2"
}
],
"settings": {
"java.checkstyle.configuration": "${workspaceFolder}/test1/custom-checkstyle.xml",
"java.checkstyle.version": "10.12.1"
}
} and it works. @jdneo Thank you for the amazing extension! |
To anyone else who ends up here, I also had to add to my settings.json a reference to my custom file: |
Hi. Thanks for a great extension.
java.checkstyle.configuration
doesn't seem to work when specified in.vscode/settings.json
It only works when specified globally (User settings) or in the workspace settings file.
The text was updated successfully, but these errors were encountered: