-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
Starting VSCode with a non-English layout and then switching to English #5152
Comments
For performance reasons, we detect the keyboard layout once, when you first press a key. We then cache this information until a restart. AFAIK there is no browser event to know when the keyboard layout has changed, so we would need to poll on the keyboard layout. It is unfortunate. |
I believe there is more to it. I am using the Dvorak keyboard layout. If the first key combination I press is "Cmd-,", VS Code acts as if I hit 'Cmd-w" -- the QWERTY key. There is no switching of layouts in this case and the only layout configured on my system is Dvorak. |
Yup, pretty much what I found, too. The behavior of VSCode doesn't make much sense in this way. It accepts the wrong key combination if it starts up with the user having set a non-English keyboard layout. Maybe this is also related to me having set English as my system language. |
I ran into this problem as well, (i use swedish and english keyboard layouts). Perhaps a solution could be to have a command that you can invoke to clear the cache? |
|
Having the same issue in Windows. Anything I can do about it? |
Steps to Reproduce:
Possibly related issues: #4619, #1549, #1492
The text was updated successfully, but these errors were encountered: