forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Description
Environment data
VS Code version: vscode 1.19.3
Python Extension version: 2018.1.0
Python Version: 2.7.13
OS and version: macOS 10.13.3
Actual behavior
I am using multi-root workspace when doing some work on several Python projects. Each project has virtual env for due to different dependencies. So I set "python.pythonPath": "${workspaceFolder}/venv/bin/python" in workspace setting. but, no matter which file is opened, Python interpreter is always venv/bin/python under first folder of workspace.
Expected behavior
Python interpreter shall be venv/bin/python under current folder of workspace.
Steps to reproduce:
- Create folders with python files and venv
- Add them to workspace, save workspace to .code-workspace file, close workspace and reopen
Logs
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug