Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotkey "ctrl+alt+f" of "reveal file in explorer" can't open windows explorer, but file-tab right menu can open it. #92893

Closed
gzx-miller opened this issue Mar 18, 2020 · 3 comments

Comments

@gzx-miller
Copy link

Issue Type: Bug

Hotkey "ctrl+alt+f" of "reveal file in explorer" can't open windows explorer, but file-tab right menu can open it.

VS Code version: Code 1.43.0 (78a4c91, 2020-03-09T19:47:57.235Z)
OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz (4 x 3292)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.91GB (7.90GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (7)
Extension Author (truncated) Version
Bookmarks ale 11.0.0
auto-close-tag for 0.5.6
vue jcb 0.1.5
svg joc 1.1.5
react-node-desktop-debugger rea 2.0.0
markdown-all-in-one yzh 2.7.0
json Zai 1.0.4
@ArturoDent
Copy link

I assume you rebound Reveal in File Explorer. If you did so through the gui (rather than manually) note that it automatically creates this keybinding:

{
    "key": "ctrl+alt+f",
    "command": "revealFileInOS",
    "when": "!editorFocus"
 },

You may not have expected it to have that when clause - which means it will not work if you have an editor focused. That rebinding works for me everywhere but when an editor is focused - as is the designed behaviour apparently.

If you want it to work "everywhere", including when an editor is focused (which includes when its tab is focused) just delete the when clause.

@aeschli
Copy link
Contributor

aeschli commented Mar 18, 2020

Thanks @ArturoDent !

@gzx-miller Please speak up if that didn't solve the problem.

@aeschli aeschli closed this as completed Mar 18, 2020
@gzx-miller
Copy link
Author

Very thanks to you.
It's working!
But in new version, this way need edit "keybindings.json" file directly.
UI only can edit the "key", can't edit the "when".

@github-actions github-actions bot locked and limited conversation to collaborators May 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants