Python extension fails to find user settings.json
in when opened inside a container
#17523
Labels
bug
Issue identified by VS Code Team member as probable bug
Environment data
Version: 1.60.2
Commit: 7f6ab5485bbc008386c4386d08766667e155244e
Date: 2021-09-22T12:01:43.795Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.11.0-7620-generic
python.languageServer
setting: "Pylance"[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (
python.languageServer: 'Microsoft'
), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]Expected behaviour
When running the Python Extension in a dev container on a Linux desktop OS, expect python extension to read global/User
settings.json
from the user's home directory.Actual behaviour
Python extension attempts to read from the home directory of the container user -
vscode
, and fails to find the actual settings file.Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Python Output
The text was updated successfully, but these errors were encountered: