Description
Environment data
-
VS Code version: Version 1.25.1 (1.25.1)
-
Extension version (available under the Extensions sidebar): 2018.7.0
-
OS and version: MacOS 10.13.6
-
Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.0 (Homebrew/Pipenv)
-
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pipenv
-
Relevant/affected Python packages and their versions: ...
Actual behavior
Selecting "Python: Select Interpreter" from the Command Palette, the list of available virtual environments is jumbled, and includes CLang version information, followed by the type of virtual environment:
Also, in the dropdown list, the type of virtual environment is shown as "(virtualenv)", which is less helpful than the original "(pipenv)". The "pipenv" notation was correctly displayed in the February 2018 Release blog post.
Also, in the status bar, the Python version information does not include the type of virtual environment for the selected interpreter.
Expected behavior
The list items should not include Clang version information.
The status bar should indicate the type of virtual environment after the Python version, to help clarify which interpreter is active.
Steps to reproduce:
- Open VSCode in a directory containing a pipenv Pipfile.
- Open a Python script file.
- From the Command Palette, choose "Python: Select Interpreter" to display the list of virtual environments.
Logs
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
none
Output from Console
under the Developer Tools
panel (toggle Developer Tools on under Help
)
none