forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityIssue identified as high-priority
Description
Environment data
- VS Code version: 1.54.0-insider
- Extension version (available under the Extensions sidebar): v2021.2.549812789-rc
- OS and version: WSL2 Debian
- Python version (& distribution if applicable, e.g. Anaconda): 3.9.1
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
- Relevant/affected Python packages and their versions: N/A
- Relevant/affected Python-related VS Code extensions and their versions: N/A
- Value of the
python.languageServer
setting: Pylance
Expected behaviour
Not to list directories that happen to match the pythonX.Y
format.
Actual behaviour
Notice the entries for:
/etc
- /
lib
/usr/lib
/usr/local/lib
/usr/share
Steps to reproduce:
- Try to discover an environment
Logs
None
Metadata
Metadata
Assignees
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityIssue identified as high-priority