-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Shortcuts with Italian key layout work randomly #18949
Comments
I will add now - after some deeper testing - new information that may help solving (or better, identifying...) the issue. I entered in File -> Preferences -> Keyboard shortcuts, as if I needed to define a new custom shortcut in order to check how VSC rendered characters and keys. This is what I found. UBUNTU SET TO ITALIAN LAYOUT
UBUNTU SET TO US LAYOUT
However, changing layout and then rebooting VSC does not trigger any change in the overlay which says "With current keyboard layout: ..." over default keybindings. To conclude, with keyboard layout set to Italian (if it can help), pressing Ctrl+Shift+ù does nothing, exactly as Ctrl+Shift+. With layout set to US, it works if following Italian suggestions, that is pressing the key on the keyboard with the Italian symbol as suggested. To me, it seems that VSC suggests as language-specific shortcuts the shortcuts one had to press if the keyboard for that language is used with US layout. And that way it works just fine (what's difficult that way is the act of writing itself). Thank you (the editor itself is great, though!) and sorry for the long follow-up. |
Related: #17521 |
Thanks for your interest for the issue. I am happy, at least, that the problem is known... And I can confirm that #17521 is the case, because with the same machine and same settings under Windows 10 VSC works perfectly. Thanks for the support and keep it going, because the editor rocks! |
I have validated that we now (i.e. after PR #22894 aka #17521 -- in tomorrow's Insiders build) appear to behave correctly for this keyboard layout Analysis of default keybinding for
|
Steps to Reproduce:
Set keyboard layout (thorugh Ubuntu) to Italian - this is the standard setup of mine, since keyboard layout is Italian.
Go to File -> Preferences -> Keyboard shortcuts, and look for i.e. "Toggle new terminal" (that is Ctrl+` for US layout and Crtl+\ for Italian layout - they are on the same physical key, so I assume this is the rationale).
Execute the shortcut and (a) nothing happens or worse (b) something different from expected happens.
Set keyboard layout (thorugh Ubuntu) EN-US (it might work, sure, but it takes a bit, making it useless to use shortcuts)
The command works, if the Italian-keyboard key combination is pressed.
To my knowledge and limited testing, this is the only way to make some shortcuts work.
The text was updated successfully, but these errors were encountered: