Skip to content

Conversation

Copy link
Contributor

Copilot AI commented May 20, 2025

edited by @eleanorjboyd for clarity

Problem

Currently, when right-clicking on a folder or file that is already added as a Python project, the "Add Python Project" context menu item is still shown. This can be confusing to users as they might think they need to add the project again, or that the project wasn't properly added the first time.

To Test

  • When user right-clicks on a file/folder not yet added as a Python project: "Add as Python Project" is shown
  • When user right-clicks on a file/folder already added as a Python project: The menu item is hidden

This change improves the user experience by reducing confusion and providing clearer contextual actions.

Fixes #272 and #327

Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
Copilot AI changed the title [WIP] Hide Add Python Project context menu item if already selected as Python Project Hide "Add Python Project" context menu for already selected projects May 20, 2025
Copilot AI requested a review from eleanorjboyd May 20, 2025 16:58
@eleanorjboyd eleanorjboyd marked this pull request as ready for review May 20, 2025 21:06
@eleanorjboyd eleanorjboyd requested a review from karthiknadig May 20, 2025 21:06
@eleanorjboyd eleanorjboyd changed the title Hide "Add Python Project" context menu for already selected projects Hide "Add Python Project" context menu for already selected projects & Rename button May 20, 2025
@eleanorjboyd eleanorjboyd enabled auto-merge (squash) May 20, 2025 21:18
@eleanorjboyd eleanorjboyd linked an issue May 21, 2025 that may be closed by this pull request
auto-merge was automatically disabled May 22, 2025 16:25

Pull request was closed

@eleanorjboyd eleanorjboyd reopened this May 22, 2025
@eleanorjboyd eleanorjboyd merged commit 6ccbb2f into main May 22, 2025
14 checks passed
@eleanorjboyd eleanorjboyd deleted the copilot/fix-272 branch May 22, 2025 16:28
@eleanorjboyd eleanorjboyd added this to the May 2025 milestone May 30, 2025
NguyenCuong1989 referenced this pull request in NguyenCuong1989/vscode-python-environments Oct 23, 2025
…& Rename button (#432)

edited by @eleanorjboyd for clarity

## Problem
Currently, when right-clicking on a folder or file that is already added
as a Python project, the "Add Python Project" context menu item is still
shown. This can be confusing to users as they might think they need to
add the project again, or that the project wasn't properly added the
first time.

## To Test
- When user right-clicks on a file/folder not yet added as a Python
project: "Add as Python Project" is shown
- When user right-clicks on a file/folder already added as a Python
project: The menu item is hidden

This change improves the user experience by reducing confusion and
providing clearer contextual actions.

Fixes #272 and #327

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hide Add Python Project context menu item if already selected as Python Project Fix phrasing to add a python project from file explorer

4 participants