-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
Keyboard Shourtcuts for Italian Keyboard #134961
Comments
This is working as expected. Windows and Linux are very different in the way they handle keyboard input and VS Code does the best it can. I will link to an issue that tracks improving things lower. On Windows, there are two conceptional mappings, the first one is the mapping from scan code to key code, and the second one is the mapping from key code and modifiers to produced characters:
On Linux, there is a single conceptual map from scan code + modifiers to produced character. There is no intermediate hop, there are no intermediate virtual keys like on Windows. So when we ship with a default keybinding of
So, given I'm sorry about the long explanation, but I hope that explains what is going on. The only way to improve here is #1240 , which would mean that we would ship with default keyboard shortcuts optimized for Italian, Spanish, German keyboard layouts, etc. That would allow us to make an individual decision if we want to map On the bright side, if you don't like the way our defaults have resolved, you can very easily edit them using the UI we have and map them to your liking. You can also read more about it here. |
Issue Type: Bug
I've used vs code through windows but I recently started using it through linux and one of my usually default keyboards that I'm used with Windows version of vs code is different to Linux. I know that I could change it but I like to stick to the defaults. But what is a problem is that as you can see below there are 2 different commands for the same shortcut, and I think that this is not a normal behaviour. In windows with italian keyboard, the comment toggle shortcut is ctrl+ù, in linux as you can see when I press the same combination of keys, "ù" is recognized as [Backslash]
Edit: I did the screen with all the extensions disabled
VS Code version: Code 1.61.0 (ee8c7de, 2021-10-07T18:11:02.929Z)
OS version: Linux x64 5.13.0-7614-generic
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (42)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: