Hide "Add Python Project" context menu for already selected projects & Rename button #432
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
This change improves the user experience by reducing confusion and providing clearer contextual actions.
Fixes #272 and #327