Skip to content

Interpreter discovery experiment: Relative interpreter path shown doesn't have ~ #15312

@kimadeline

Description

@kimadeline

Environment data

  • VS Code version: 1.53.0-insider, commit 8490d3dde47c57ba65ec40dd192d014fd2113496
  • Extension version (available under the Extensions sidebar): 2021.2.531887795-dev
  • OS and version: macOS Big Sur (11.2)
  • Opted into all experiments ('All')

[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

If the interpreter path shown is relative to the user home folder, prefix it with ~. Otherwise, show absolute path.

Actual behaviour

Some relative paths don't start with ~:

image

Metadata

Metadata

Assignees

Labels

area-environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityregressionBug didn't exist in a previous release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions