-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Ctrl+` doesn't work on Japanese layout #70482
Comments
(Experimental duplicate detection) |
To re-emphasize: this issue also occurs without the Japanese IME. Having a Japanese keyboard layout on an otherwise English UK language, also triggers the bug. So I believe this is not a true dupe of #67839. |
The Backtick key (left of `) appears to be a special IME key: If you look carefully at the last frame, you will see the Therefore, unfortunately, the Backtick key is unusable in VS Code when using Japanese IME, sorry about that! |
This may be too simplistic on my end, but is it not possible to listen for keyCode 229 then? |
I'm sorry, but that is not possible, because keyCode 229 is a catch-all value... Pressing . also produces 229, etc. Unfortunately, that is how this keyboard layout works and I think this is not a limitation specific to VS Code... |
Then maybe it's possible to assign a different hotkey (by default at least) when a Japanese IME is detected? I dont think it's right the default to certain keys that aren't usable because of a keyboard layout. We also don't default anything to the Ğ key, because it only exists on a Turkish F-keyboard. This is an extreme example of course, but the point is that default hotkeys, IMO at least, should "just work" regardless of keyboard layout, even if it means some exceptions for some hotkeys. This seems pretty hard to accomplish, so I understand if this would get a slightly reduced priority. |
@thany 👍 It is possible to change absolutely any keybinding on your side. You can remove everything we ship with and add your own from scratch or just tweak the defaults here and there... Just open the keybindings editor and reassign or edit directly in By default, we ship with good default keybindings for the US keyboard layout. All other keyboard layouts are not optimized and it is a best-attempt situation. You can upvote this in #1240 |
Issue Type: Bug
When the keyboard is set to English UK language&locale with Japanese layout, the
Ctrl+`
shortcut to show or hide the terminal, no longer works. It just simply doesn't do anything. This bug also occurs when on the Microsoft Japanese IME, but also when using the "regular" Japanese layout without IME.Switching back to English UK language&locale, and US-international layout, the
Ctrl+`
shortcut works again.Should it matter, my physical keyboard is the US-layout version of a Dell XPS 9570.
This problem also happens with all extensions disabled.
VS Code version: Code 1.32.1 (05f146c, 2019-03-08T00:51:49.278Z)
OS version: Windows_NT x64 10.0.17763
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (21)
The text was updated successfully, but these errors were encountered: