[ENHANCEMENT] option to use the version of the language server installed in the current environment instead of the one bundled with the vscode extension #422
Labels
enhancement
New feature or request
Is your enhancement request related to a problem? Please describe.
i'm seeing these errors from the robotcode vscode extension:
this is because i have a keyword with a type annotation that uses the new
TypeForm
type, which was only recently added totyping_extensions
in the latest release (4.13.0):this error is a false positive though because my project has the latest version of
typing_extensions
in its dependencies, but it seems that the version of the robotcode language server used by the vscode extension is bundled with the extension.in my project i have the
robotcode[languageserver]
pypi package installed, so i would expect it to use that, along with the dependencies in my project's venv instead of the versions bundled with vscode.since i also use
robotcode[analyze]
in my CI, having vscode use a different version of robotcode causes vscode to show different errors to the CI.Describe the solution you'd like
most vscode language server extensions solve this problem with an
importStrategy
setting. for example ruff. it would be nice if robotcode did the same thing (ideally it would default to"fromEnvironment"
)Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: