microsoft / microsoft/vscode

"revealFileInOS" - doesn't work within devcontainer

Open
#329,820 0 comments 0 reactions 1 assignee Claimed by @chrmarti View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Type: Bug

Use a devcontainer (windows -> docker using wsl -> devcontainer), then use a keybinding to attempt "revealFileInOS". Nothing happens.

The keybinding works when I am not inside a devcontainer.

```
{
"key": "ctrl+e",
"command": "revealFileInOS"
},
```

The context menu entry "Reveal in file explorer" entry is also absent when within a devcontainer.

Whatever fixed this issue https://github.com/microsoft/vscode/issues/299491 may be part of the first step for fixing this?

VS Code version: Code - Insiders 1.133.0-insider (8eaafbf4220a3cb099d7bd99c8d04dca7062236f, 2026-08-07T16:53:13Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 6.18.33.2-microsoft-standard-WSL2

System Info

|Item|Value|
|---|---|
|CPUs|AMD Ryzen 5 5600X 6-Core Processor (12 x 3700)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x10de, DEVICE=0x1b06 [NVIDIA GeForce GTX 1080 Ti], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=31.0.15.5222 *ACTIVE*
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.19041.5794
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
webgpu: enabled
webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|31.93GB (19.14GB free)|
|Process Argv|--crash-reporter-id d1b57602-1bfb-40c5-ae13-be16ea8f5e16|
|Screen Reader|no|
|VM|0%|

|Item|Value|
|---|---|
|Remote|Dev Container @ desktop-linux|
|OS|Linux x64 6.18.33.2-microsoft-standard-WSL2|
|CPUs|AMD Ryzen 5 5600X 6-Core Processor (12 x 0)|
|Memory (System)|7.75GB (6.41GB free)|
|VM|0%|
Extensions (14)

Name|Identifier|Author|Version
---|---|---|---
Dev Containers|ms-vscode-remote.remote-containers|ms-vscode-remote|0.467.0
WSL|ms-vscode-remote.remote-wsl|ms-vscode-remote|0.104.3
es6-string-css|bashmish.es6-string-css|bashmish|0.1.0
Django|batisteo.vscode-django|batisteo|1.15.0
ESLint|dbaeumer.vscode-eslint|dbaeumer|3.0.34
EditorConfig|editorconfig.editorconfig|EditorConfig|0.18.2
Container Tools|ms-azuretools.vscode-containers|ms-azuretools|2.4.5
Docker|ms-azuretools.vscode-docker|ms-azuretools|2.0.0
Python Debugger|ms-python.debugpy|ms-python|2026.6.0
Python|ms-python.python|ms-python|2026.4.0
Pylance|ms-python.vscode-pylance|ms-python|2026.3.1
Python Environments|ms-python.vscode-python-envs|ms-python|1.36.0
Svelte for VS Code|svelte.svelte-vscode|svelte|110.3.0
Workspace Config+|swellaby.workspace-config-plus|Swellaby|0.2.5

A/B Experiments

```
vsliv368:30146709
pythonvspyt551:31249597
nativeloc1:31118317
dwcopilot:31158714
dwoutputs:31242946
copilot_t_ci:31333650
g012b348:31231168
pythonrdcb7:31268811
pythonpcpt1cf:31399617
6518g693:31302842
envsactivate1:31349248
editstats-enabled:31346256
cloudbuttont:31366566
42190218_ostrepl:31403339
839jf696:31457053
cp_cls_t_966_ss:31526232
4je02754:31455664
c3h7c220:31478652
cp_cls_c_1081:31454833
conptydll_true:31485575
e9c30283:31453065
test_treatment2:31471001
46204921:31447328
idci7584:31454084
e3e4d672:31454087
ei9d7968:31462942
f860i809:31458078
7e884298:31462391
7e187181:31482583
h08i8180:31475367
23c7c724:31520045
ddid_c:31478205
hmra_i5g22:31518061
bjc72774_agent_sandbox:31538428
7df3h592:31491241
cp_cls_t_1082:31535311
logging_enabled_new:31490725
jb_cp_cls_t_632:31543129
32d76977:31503652
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31541111
a1ije391_t:31533808
hgf2d445:31510900
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
jf4hg949:31526829
hide-eh-duplicates:31543293
h561g132:31534507
replace-eh-with-ah:31545853
ihg5j128:31534457
f412h606:31543414
enable_editor_pane_layout:31551200
52258b4d:31547953
36h42362:31560305
c7c27ce7:31551212
6577i413_copy:31558653
8hc4g144:31558143
1532g621_copy:31554310
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0c1h4866:31562347
vrbsty_tr:31561056
cch_brk_fls:31561679
4553j735_t_off:31561845
j66cb542_t:31561847

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.