Ensure python.pythonPath is set for LSP configuration/workspace call #11083
Labels
area-environments
Features relating to handling interpreter environments
area-intellisense
LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.
feature-request
Request for new features or functionality
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 theworkspace/configuration
call, simulating the old behavior while keeping the value stored outside any settings.json.Part of #11015.
The text was updated successfully, but these errors were encountered: