Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jun 25, 2025

This PR adds a "Reveal Project in Explorer" context menu action to the Python Projects view, allowing users to easily navigate from the Python Project view to its file location in the OS file explorer.

Changes Made

  • Added new command: python-envs.revealProjectInExplorer with folder icon ($(folder-opened))
  • Context menu integration: Added the command to the context menu for all python-workspace items (both removable and non-removable)
  • Localization: Added localized title string "Reveal Project in Explorer"
  • Command implementation: Uses VS Code's built-in revealFileInOS command to open the project folder in the OS file explorer
  • Command palette: Hidden from command palette (only available via context menu as requested)

Usage

Users can now right-click on any Python project in the Python Projects view and select "Reveal Project in Explorer" to open the project folder in their operating system's file explorer.

Context menu showing the new reveal action

Fixes #488.

Copilot AI changed the title [WIP] Environments should have a "reveal in explorer" action Add "Reveal Project in Explorer" context menu action for Python Projects Jun 25, 2025
Copilot AI requested a review from eleanorjboyd June 25, 2025 15:55
Copilot finished work on behalf of eleanorjboyd June 25, 2025 15:55
Copilot AI requested a review from eleanorjboyd June 25, 2025 16:03
Copilot finished work on behalf of eleanorjboyd June 25, 2025 16:03
@eleanorjboyd eleanorjboyd marked this pull request as ready for review June 25, 2025 16:14
@eleanorjboyd eleanorjboyd removed their request for review June 25, 2025 16:14
@vs-code-engineering vs-code-engineering bot added this to the June 2025 milestone Jun 25, 2025
@eleanorjboyd eleanorjboyd enabled auto-merge (squash) June 25, 2025 16:30
@eleanorjboyd eleanorjboyd merged commit 44a683d into main Jun 25, 2025
10 checks passed
@eleanorjboyd eleanorjboyd deleted the copilot/fix-488-2 branch June 25, 2025 16:56
NguyenCuong1989 referenced this pull request in NguyenCuong1989/vscode-python-environments Oct 23, 2025
…cts (#568)

This PR adds a "Reveal Project in Explorer" context menu action to the
Python Projects view, allowing users to easily navigate from the Python
Project view to its file location in the OS file explorer.

## Changes Made

- **Added new command**: `python-envs.revealProjectInExplorer` with
folder icon (`$(folder-opened)`)
- **Context menu integration**: Added the command to the context menu
for all python-workspace items (both removable and non-removable)
- **Localization**: Added localized title string "Reveal Project in
Explorer"
- **Command implementation**: Uses VS Code's built-in `revealFileInOS`
command to open the project folder in the OS file explorer
- **Command palette**: Hidden from command palette (only available via
context menu as requested)

## Usage

Users can now right-click on any Python project in the Python Projects
view and select "Reveal Project in Explorer" to open the project folder
in their operating system's file explorer.

![Context menu showing the new reveal
action](https://github.com/user-attachments/assets/80808960-1b87-4741-9fe8-2116f1d1c9fa)

Fixes #488.

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: eleanorjboyd <[email protected]>
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.

Environments should have a "reveal in explorer" action

4 participants