Skip to content

Expose an API that opens a quickpick allowing users to select a Python environment #21735

Open
@DonJayamanne

Description

@DonJayamanne

VS Code exposes an API to select the workspace folder, I think exposing a similar API to select a Python would be useful.
Note: This API would display a quick pick and return the selected Environment (it does not change the currently active env).

I can see this being used at least in 3 places today in the Jupyter extension and other personal extensions I have (Python environment Manager, Jupyter Launcher, etc).
I'm assuming other extensions could also benefit from this.

Features that would be useful in the quick pick (API):

  • Ability to create a new env
  • Ability to filter environments displayed in the list
  • Ability to mark an item as suggested
  • Ability to mark an item as currently selected.

Metadata

Metadata

Assignees

Labels

area-apiAPI related issuesfeature-requestRequest for new features or functionalityneeds proposalNeed to make some design decisions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions