Skip to content

Reveal In File Explorer Shows Wrong File #297084

@bruno-brant

Description

@bruno-brant

Type: Bug

When using the shortcut (default: Shift+Alt+c) to display a file from the Explorer panel, the file that's opened is the one open in the editor.

Steps to reproduce:

  1. Open a workspace with at least two files.
  2. Open the first one for editing (in the main tab).
  3. Right click the other one in the Explorer panel.
  4. Press the shortcut combo for "Reveal in File Explorer..."

What I expected is that the second file, for which I have the context menu open and which says "Reveal In File Explorer (Shift+Alt+C)" to be the one displayed.

VS Code version: Code - Insiders 1.110.0-insider (4a95233, 2026-02-23T05:04:02.680Z)
OS version: Windows_NT x64 10.0.26200
Modes:

System Info
Item Value
CPUs AMD Ryzen AI 7 PRO 350 w/ Radeon 860M (16 x 1996)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x1002, DEVICE=0x1114 [AMD Radeon(TM) 860M Graphics], DRIVER_VENDOR=AMD, DRIVER_VERSION=32.0.23017.1001 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.7309
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 55.65GB (24.53GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (29)
Extension Author (truncated) Version
ruff cha 2026.36.0
gitlens eam 2026.2.2104
copilot-chat Git 0.38.2026022302
vscode-kanbn gor 0.11.0
todo-tree Gru 0.0.226
rest-client hum 0.25.1
rainbow-csv mec 3.24.1
file-downloader min 1.0.13
debugpy ms- 2025.19.2026022301
python ms- 2026.2.2026021801
vscode-pylance ms- 2026.1.1
vscode-python-envs ms- 1.21.10501014
jupyter ms- 2025.10.2026010601
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.3.0
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
azure-repos ms- 0.41.2026012801
cpp-devtools ms- 0.2.0
hexeditor ms- 1.11.1
remote-repositories ms- 0.43.2026012801
test-adapter-converter ms- 0.2.1
material-icon-theme PKi 5.31.0
vscode-commons red 0.0.6
vscode-xml red 0.29.0
vscode-yaml red 1.20.0
jinjahtml sam 0.20.0
semanticdiff sem 0.10.0
even-better-toml tam 0.21.2

Metadata

Metadata

Assignees

Labels

ai-triagedbugIssue identified by VS Code Team member as probable bugfile-explorerExplorer widget issueskeybindingsVS Code keybinding issuesmenusMenu items and widget issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions