microsoft / microsoft/vscode-python-environments

Add ability to exclude Python Environment from Python Extension

Open
#1,043 10 comments 1 reaction 1 assignee View on GitHub

@karthiknadig is already working on this.

Since Jun 25, 2024.

feature-request needs proposal
Dominant language
TypeScript
Stars
138
Forks
62
Avg merge
1d 4h
Merged PRs (30d)
35

Description

Currently the Jupyter extension has the ability to hide Python Environments from showing up in the Kernel picker
One of the use cases is to hide the default Python Env in docker (dev) containers from Jupyter extension as they do not work (due to lack of Pip or the like) & these containers have other Environments like Conda or the like that is preferred.

I feel that this would apply to Python extension as well, i.e. if a user tries to debug Python code or the like, one wouldn't want to see the Python Env thats not working (I.e. the creators of the Container would want to ensure users of that container always use a specific Python environment or never use a specific Python env).

Can we have a setting or the like that would take an array of Python environment paths that would exclude Python Environments from the Python Extension, this would then flow onto Jupyter as well & other extensions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.