microsoft / microsoft/vscode-python-environments

Hide Add Python Project context menu item if already selected as Python Project

Open
#272 7 comments 0 reactions 1 assignee View on GitHub

@karthiknadig is already working on this.

Since Feb 4, 2026.

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

Description

1. Select a folder/file as a Python project
2. Navigate to the file explorer
3. Right click on workspace or file that is already added
4. ❗We still show "Add Python Project" even though it is already selected

Can we hide this if it is already selected to reduce confusion. I think renaming this item to "Add as Python project" would be helpful as well since we plan to introduce project creation this could be confused as creating a new project from scratch.

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.