You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use xmodmap to swap the meaning of the Esc and Caps Lock keys. In other words, I press the physical Esc key to enable caps lock (very rare) and the physical Caps Lock for escape (very common). This used to work fine in VS Code 1.8.1 but misbehaves in 1.14.2. VS Code is the only software I have used that does this.
Caps Lock should now perform the function typically assigned to Esc, and vice versa.
Select some text in VS Code. Press the Caps Lock key. Expected: text is unselected (because the key means escape to the OS). Observed: nothing happens.
Select some text in VS Code. Press the Esc key. Expected: selection remains, caps lock is enabled in the OS. Observed: Text is unselected and caps lock is enabled in the OS.
Reproduces without extensions: Yes
The text was updated successfully, but these errors were encountered:
Yes, setting "keyboard.dispatch": "keyCode" works around the issue for me also (though I'm assuming this will introduce other limitations related to keyboard layout changes).
Searching for "keyboard.dispatch" I ran across a duplicate for this issue: #23991. Don't know why it didn't turn up in search results before, sorry for the noise.
I use xmodmap to swap the meaning of the Esc and Caps Lock keys. In other words, I press the physical Esc key to enable caps lock (very rare) and the physical Caps Lock for escape (very common). This used to work fine in VS Code 1.8.1 but misbehaves in 1.14.2. VS Code is the only software I have used that does this.
Swapping Esc and Caps Lock is common among Vim users, who frequently use the Esc key. See e.g. http://vim.wikia.com/wiki/Map_caps_lock_to_escape_in_XWindows.
Steps to Reproduce:
Caps Lock should now perform the function typically assigned to Esc, and vice versa.
Select some text in VS Code. Press the Caps Lock key. Expected: text is unselected (because the key means escape to the OS). Observed: nothing happens.
Select some text in VS Code. Press the Esc key. Expected: selection remains, caps lock is enabled in the OS. Observed: Text is unselected and caps lock is enabled in the OS.
Reproduces without extensions: Yes
The text was updated successfully, but these errors were encountered: