Closed isidorn closed 3 years ago
Open keybindgs.json and have the following keybinding { "key": "cmd + d", "command": "editor.action.deleteLines", "when": "editorTextFocus" },
keybindgs.json
{ "key": "cmd + d", "command": "editor.action.deleteLines", "when": "editorTextFocus" },
Notice the space around the + in "key". Due to that this keybinding does not get registered. I would expect that the spaces around the + get ignored.
Given we now have the keybindings editor and manually writing these keybindings is less likely, I would not relax the parsing rules now, so to not confuse with chords e.g. cmd d is different than cmd + d
cmd d
cmd + d
Open
keybindgs.json
and have the following keybinding{ "key": "cmd + d", "command": "editor.action.deleteLines", "when": "editorTextFocus" },
Notice the space around the + in "key". Due to that this keybinding does not get registered. I would expect that the spaces around the + get ignored.