forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsarea-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.feature-requestRequest for new features or functionalityRequest for new features or functionality
Description
With python.pythonPath
no longer always being set, a language server which queries for the user's configuration will no longer be able to see the currently active environment, as LSP only queries VS Code's view of the settings.json overlays.
To keep this call working, the old python.pythonPath
setting can be added to the response to the workspace/configuration
call, simulating the old behavior while keeping the value stored outside any settings.json.
Part of #11015.
Metadata
Metadata
Assignees
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsarea-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.feature-requestRequest for new features or functionalityRequest for new features or functionality