Description
Since version 1.11.1 (last I used was 1.10.2), the shortcut to "Toggle Line Comment" (which was Ctrl+/
) now zooms out, like when pressing (Ctrl+-
). Pressing Ctrl+Shift+7
does work, but Shift+7
is &
. The actual layout when writing text, is correctly set to US, but shortcuts are interpreted as DE.
- VSCode Version: 1.11.1
- OS Version: Arch Linux 64-bit (using the .tar.gz version)
- Desktop environment: KDE Plasma 5.9
- Current keyboard layout: EN-US
Steps to Reproduce:
- Open Keyboard Shortcuts.
- Find the shortcut and edit it.
Inside Developer: Inspect Key Mappings
there is no VK_OEM_2
.
Some interesting values:
Layout info:
{
"model": "pc104",
"layout": "de,us",
"variant": "",
"options": "grp:win_space_toggle,kpdl:dotoss,altwin:meta_alt,caps:ctrl_modifier",
"rules": "evdev"
}
isUSStandard: false
"Minus": {
"value": "ß",
"withShift": "?",
"withAltGr": "\\",
"withShiftAltGr": "¿"
},
"Slash": {
"value": "-",
"withShift": "_",
"withAltGr": "–",
"withShiftAltGr": "—"
},
The issue seems to be that when there are multiple layouts configured, VS Code sets as key layout the first value for layout
form setxkbmap -query
, ignoring the current layout. If I switch to be en,de
then VS Code uses the EN layout, as it is the first in the list. It would be handy if VS Code could use the current layout instead of the first from the list.