This repository was archived by the owner on Oct 23, 2025. It is now read-only.
Commit a3f3d06
Add "Reveal Project in Explorer" context menu action for Python Projects (#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.

Fixes #488.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>1 parent 3533972 commit a3f3d06
4 files changed
Lines changed: 29 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
258 | 264 | | |
259 | 265 | | |
260 | 266 | | |
| |||
326 | 332 | | |
327 | 333 | | |
328 | 334 | | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
329 | 339 | | |
330 | 340 | | |
331 | 341 | | |
| |||
395 | 405 | | |
396 | 406 | | |
397 | 407 | | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
398 | 412 | | |
399 | 413 | | |
400 | 414 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
38 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
356 | 357 | | |
357 | 358 | | |
358 | 359 | | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
359 | 363 | | |
360 | 364 | | |
361 | 365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
0 commit comments