-
Notifications
You must be signed in to change notification settings - Fork 22
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
VSCode esbonio extension uses deprecated variable ${workspaceRoot} instead of ${workspaceFolder} #404
Comments
Ah yes... that's not ideal. The simplest 'fix' would be to add I still haven't quite got my head around how |
${workspaceRoot} is still widely used so it would be too rushed to stop supporting it. Ideally the language server should support both as valid variables in the foreseeable future. |
Yes, sufficient indeed, although I wonder if and when VSCode could drop support for |
As far as I know there's no API extensions can rely on for the implementation of variables like On the flip side, this means we can support |
Indeed, I was rather surprised to read that API support for variable resolving is still missing, see: Then indeed, your straightforward solution would be perfect. |
VSCode has deprecated the variable
${workspaceRoot}
in favour of${workspaceFolder}
to better align with Multi-root Workspace support, see:https://code.visualstudio.com/docs/editor/variables-reference#_why-isnt-workspaceroot-documented
The VSCode esbonio extension still uses
${workspaceRoot}
, see:https://swyddfa.github.io/esbonio/docs/latest/en/lsp/getting-started.html?editor=vscode-esbonio#confval-esbonio.server.pythonPath-string
This is confusing, since all VSCode documentation uses
${workspaceFolder}
now.For example, the setting
"esbonio.server.pythonPath": "${workspaceFolder}/.venv/bin/python
gives an error starting up the esbonio language server. Replacing${workspaceFolder}
by${workspaceRoot}
works. Removing the setting also works.The text was updated successfully, but these errors were encountered: