microsoft / microsoft/vscode-python-environments
Hide Add Python Project context menu item if already selected as Python Project
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.