Environment data
VS Code version: 1.20.0
Python Extension version: 2018.1.0
Python Version: Python 3.5.2
OS and version: Ubuntu 16.04 LTS
Actual behavior
vscode/settings.json has
{
"python.pythonPath": "${workspaceFolder}/venv/bin/python3"
}
main.py starts with
#!/usr/bin/env python3
Expected behavior
"Set As Interpreter" is not displayed. If clicked, it keeps the currently active python3 (from venv).
Steps to reproduce:
- Click "Set as interpreter" on the #! line
- See interpreter get set to system python3 instead of venv one.