Command revealFileInOS
breaks with Explorer view NOT opened
#110869
Labels
file-explorer
Explorer widget issues
*out-of-scope
Posted issue is not in scope of VS Code
under-discussion
Issue is under discussion for relevance, priority, approach
Milestone
Issue Type: Bug
Found:
Performing the command
revealFileInOS
fails when the Explorer view Ctrl+Shift+E is NOT visible.Repro:
• have 2 files in 2 tabs from different directories open
• run
revealFileInOS
on tab 1• see the File Browser with the selected file
• close Explorer, the whole Sidebar or switch to Extensions, Debug view ...
• run
revealFileInOS
on tab 2• see the File Browser opened with the file from tab 1 selected!
Expected:
revealFileInOS
always shows the according file in the File BrowserInterestingly
copyFilePath
always gives you the correct path of the file in the active tab regardless of the Explorer view state.VS Code version: Code - Insiders 1.52.0-insider (78908e7, 2020-11-18T12:38:39.842Z)
OS version: Windows_NT x64 10.0.19042
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (7)
(1 theme extensions excluded)
The text was updated successfully, but these errors were encountered: