-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Support ${workspaceFolderBasename}
in settings
#713
Comments
Thanks for the feature request. This should be easy to implement. PRs are welcome too. |
${workspaceFolderBasename}
in settings
Currently we only support vscode-shellcheck/src/linter.ts Line 76 in 301e662
Because, unfortunately, support for each of these variables has to be implemented manually since the following feature request wasn't yet implemented in VS Code: One alternative is to use https://github.com/DominicVonk/vscode-variables, but it seems to be a little outdated. |
PRs are welcome, btw. |
Set shellcheck.executablePath to a path such as "/opt/conda/miniforge/envs/${workspaceFolderBasename}/bin/shellcheck" where "${workspaceFolderBasename}" works out to "batteries-forking-included".
Reload VSCode.
Error displays:
The shellcheck program was not found (not installed?). Use the 'shellcheck.executablePath' setting to configure the location of 'shellcheck'
Set "/opt/conda/miniforge/envs/batteries-forking-included/bin/shellcheck".
Reload VSCode.
No error.
The text was updated successfully, but these errors were encountered: