Skip to content
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 containing "cmd" + "[" (left bracket) does not work #114075

Closed
fujikky opened this issue Jan 9, 2021 · 11 comments
Closed

Shortcuts containing "cmd" + "[" (left bracket) does not work #114075

fujikky opened this issue Jan 9, 2021 · 11 comments
Assignees
Labels
info-needed Issue requires more information from poster keyboard-layout Keyboard layout issues macos Issues with VS Code on MAC/OS X

Comments

@fujikky
Copy link

fujikky commented Jan 9, 2021

  • VSCode Version: 1.52.1 and 1.53.0-insider( ed6c343 )
  • OS Version: macOS Big Sur 11.1 (Darwin x64 20.2.0)

Steps to Reproduce:

The following shortcuts do not work.

  • cmd + [ => Outdent Line
  • cmd + shift + [ => Open Previous Editor
  • cmd + option + [ => Fold

Apparently, it doesn't work if it contains a combination of cmd and [.
It works enter only [ key, and also works [ key other than with the cmd key.

Also it does not displayed logs for [ + cmd keys when running the "Toggle Keyboard Shortcuts Troubleshooting" command.

2021-01-09 20 43 00

It worked fine up to macOS Catalina, but after upgrading my machine to macOS Big Sur, I'm having problems.

Does this issue occur when all extensions are disabled?: Yes

@vscodebot
Copy link

vscodebot bot commented Jan 9, 2021

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@alexdima
Copy link
Member

@fujikky It looks like cmd+[ is not reaching VSCode. Perhaps there is some new feature in Big Sur or some new software on your machine which would "steal" this keybinding away from applications? Can you use this keybinding in other applications?

@alexdima alexdima added macos-big-sur info-needed Issue requires more information from poster labels Jan 11, 2021
@VazMike
Copy link

VazMike commented Jan 11, 2021

I have the same problem. I think the keyboard layout is set to some other non-english language.
The problem goes away as soon as I switch back to English.

@alexdima
Copy link
Member

@VazMike What keyboard layout are you using? Do you also have a problem with the same cmd+[ keybinding? Are you also on macOS?

@VazMike
Copy link

VazMike commented Jan 11, 2021

@alexdima I'm using Russian layout (Russian - PC to be exact). I'm on a macOS Big Sur. All keybindings where English and Russian symbols aren't matched including cmd+[ are messed up.
BTW the issue is not unique to VS Code, I've encountered this issue in other apps.

@alexdima
Copy link
Member

@VazMike Thank you for the information. Here is what is going on. Let's take for example cmd+] which is the default keybinding for editor.action.indentLines. At runtime, we take a look at the current keyboard layout and determine if ] can be produced or not.

It turns out that using Russian-PC, ] can be produced by pressing shift+alt+`:
Kapture 2021-01-11 at 15 45 06

So the default binding of editor.action.indentLines under the Russian-PC keyboard layout becomes cmd+shift+alt+`. This is not ideal, but that's how we translate the default keyboard shortcut that we had under QWERTY-US. There is an issue to ship with keyboard layout optimized defaults -- #1240

If you don't like the default keybindings, that is not a problem. You can configure them yourself. For example, in this case, if you would like that cmd+] is always on the same physical key, you can reference to the key using its symbolic name, [BracketRight], so you could add the following to your user keybindings.json:

{ "key": "cmd+[BracketRight]", "command": "editor.action.indentLines", "when": "editorTextFocus && !editorReadonly" },

You can find the symbolic names of physical keys here -- https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code/code_values.

@alexdima alexdima added keyboard-layout Keyboard layout issues macos Issues with VS Code on MAC/OS X and removed macos-big-sur labels Jan 11, 2021
@fujikky
Copy link
Author

fujikky commented Jan 12, 2021

@alexdima My main keyboard layout is Japanese-Romaji, but also English doesn't fix the problem.
For example, Google Chrome works fine with cmd + shift + [ key bindings.

2021-01-12 09 49 48

I reset to NVRAM and SMC but it didn't improve.

@fujikky
Copy link
Author

fujikky commented Jan 12, 2021

I found this document and tried all the troubleshooting but it didn't improve.
https://github.com/microsoft/vscode/wiki/Keybinding-Issues

My keyboard shortcuts are the default settings.
The output of Developer: Inspect key mappings is attached below.

{
	"layout": {
		"id": "com.apple.keylayout.ABC",
		"localizedName": "ABC",
		"lang": "en"
	},
	"rawMapping": {
		"KeyA": {
			"value": "a",
			"valueIsDeadKey": false,
			"withShift": "A",
			"withShiftIsDeadKey": false,
			"withAltGr": "å",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "Å",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyB": {
			"value": "b",
			"valueIsDeadKey": false,
			"withShift": "B",
			"withShiftIsDeadKey": false,
			"withAltGr": "∫",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "ı",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyC": {
			"value": "c",
			"valueIsDeadKey": false,
			"withShift": "C",
			"withShiftIsDeadKey": false,
			"withAltGr": "ç",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "Ç",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyD": {
			"value": "d",
			"valueIsDeadKey": false,
			"withShift": "D",
			"withShiftIsDeadKey": false,
			"withAltGr": "∂",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "Î",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyE": {
			"value": "e",
			"valueIsDeadKey": false,
			"withShift": "E",
			"withShiftIsDeadKey": false,
			"withAltGr": "´",
			"withAltGrIsDeadKey": true,
			"withShiftAltGr": "´",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyF": {
			"value": "f",
			"valueIsDeadKey": false,
			"withShift": "F",
			"withShiftIsDeadKey": false,
			"withAltGr": "ƒ",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "Ï",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyG": {
			"value": "g",
			"valueIsDeadKey": false,
			"withShift": "G",
			"withShiftIsDeadKey": false,
			"withAltGr": "©",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "˝",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyH": {
			"value": "h",
			"valueIsDeadKey": false,
			"withShift": "H",
			"withShiftIsDeadKey": false,
			"withAltGr": "˙",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "Ó",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyI": {
			"value": "i",
			"valueIsDeadKey": false,
			"withShift": "I",
			"withShiftIsDeadKey": false,
			"withAltGr": "ˆ",
			"withAltGrIsDeadKey": true,
			"withShiftAltGr": "ˆ",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyJ": {
			"value": "j",
			"valueIsDeadKey": false,
			"withShift": "J",
			"withShiftIsDeadKey": false,
			"withAltGr": "∆",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "Ô",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyK": {
			"value": "k",
			"valueIsDeadKey": false,
			"withShift": "K",
			"withShiftIsDeadKey": false,
			"withAltGr": "˚",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyL": {
			"value": "l",
			"valueIsDeadKey": false,
			"withShift": "L",
			"withShiftIsDeadKey": false,
			"withAltGr": "¬",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "Ò",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyM": {
			"value": "m",
			"valueIsDeadKey": false,
			"withShift": "M",
			"withShiftIsDeadKey": false,
			"withAltGr": "µ",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "Â",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyN": {
			"value": "n",
			"valueIsDeadKey": false,
			"withShift": "N",
			"withShiftIsDeadKey": false,
			"withAltGr": "˜",
			"withAltGrIsDeadKey": true,
			"withShiftAltGr": "˜",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyO": {
			"value": "o",
			"valueIsDeadKey": false,
			"withShift": "O",
			"withShiftIsDeadKey": false,
			"withAltGr": "ø",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "Ø",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyP": {
			"value": "p",
			"valueIsDeadKey": false,
			"withShift": "P",
			"withShiftIsDeadKey": false,
			"withAltGr": "π",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "∏",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyQ": {
			"value": "q",
			"valueIsDeadKey": false,
			"withShift": "Q",
			"withShiftIsDeadKey": false,
			"withAltGr": "œ",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "Œ",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyR": {
			"value": "r",
			"valueIsDeadKey": false,
			"withShift": "R",
			"withShiftIsDeadKey": false,
			"withAltGr": "®",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "‰",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyS": {
			"value": "s",
			"valueIsDeadKey": false,
			"withShift": "S",
			"withShiftIsDeadKey": false,
			"withAltGr": "ß",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "Í",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyT": {
			"value": "t",
			"valueIsDeadKey": false,
			"withShift": "T",
			"withShiftIsDeadKey": false,
			"withAltGr": "†",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "ˇ",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyU": {
			"value": "u",
			"valueIsDeadKey": false,
			"withShift": "U",
			"withShiftIsDeadKey": false,
			"withAltGr": "¨",
			"withAltGrIsDeadKey": true,
			"withShiftAltGr": "¨",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyV": {
			"value": "v",
			"valueIsDeadKey": false,
			"withShift": "V",
			"withShiftIsDeadKey": false,
			"withAltGr": "√",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "◊",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyW": {
			"value": "w",
			"valueIsDeadKey": false,
			"withShift": "W",
			"withShiftIsDeadKey": false,
			"withAltGr": "∑",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "„",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyX": {
			"value": "x",
			"valueIsDeadKey": false,
			"withShift": "X",
			"withShiftIsDeadKey": false,
			"withAltGr": "≈",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "˛",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyY": {
			"value": "y",
			"valueIsDeadKey": false,
			"withShift": "Y",
			"withShiftIsDeadKey": false,
			"withAltGr": "¥",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "Á",
			"withShiftAltGrIsDeadKey": false
		},
		"KeyZ": {
			"value": "z",
			"valueIsDeadKey": false,
			"withShift": "Z",
			"withShiftIsDeadKey": false,
			"withAltGr": "Ω",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "¸",
			"withShiftAltGrIsDeadKey": false
		},
		"Digit1": {
			"value": "1",
			"valueIsDeadKey": false,
			"withShift": "!",
			"withShiftIsDeadKey": false,
			"withAltGr": "¡",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "⁄",
			"withShiftAltGrIsDeadKey": false
		},
		"Digit2": {
			"value": "2",
			"valueIsDeadKey": false,
			"withShift": "@",
			"withShiftIsDeadKey": false,
			"withAltGr": "™",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "€",
			"withShiftAltGrIsDeadKey": false
		},
		"Digit3": {
			"value": "3",
			"valueIsDeadKey": false,
			"withShift": "#",
			"withShiftIsDeadKey": false,
			"withAltGr": "£",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "‹",
			"withShiftAltGrIsDeadKey": false
		},
		"Digit4": {
			"value": "4",
			"valueIsDeadKey": false,
			"withShift": "$",
			"withShiftIsDeadKey": false,
			"withAltGr": "¢",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "›",
			"withShiftAltGrIsDeadKey": false
		},
		"Digit5": {
			"value": "5",
			"valueIsDeadKey": false,
			"withShift": "%",
			"withShiftIsDeadKey": false,
			"withAltGr": "∞",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "fi",
			"withShiftAltGrIsDeadKey": false
		},
		"Digit6": {
			"value": "6",
			"valueIsDeadKey": false,
			"withShift": "^",
			"withShiftIsDeadKey": false,
			"withAltGr": "§",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "fl",
			"withShiftAltGrIsDeadKey": false
		},
		"Digit7": {
			"value": "7",
			"valueIsDeadKey": false,
			"withShift": "&",
			"withShiftIsDeadKey": false,
			"withAltGr": "¶",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "‡",
			"withShiftAltGrIsDeadKey": false
		},
		"Digit8": {
			"value": "8",
			"valueIsDeadKey": false,
			"withShift": "*",
			"withShiftIsDeadKey": false,
			"withAltGr": "•",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "°",
			"withShiftAltGrIsDeadKey": false
		},
		"Digit9": {
			"value": "9",
			"valueIsDeadKey": false,
			"withShift": "(",
			"withShiftIsDeadKey": false,
			"withAltGr": "ª",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "·",
			"withShiftAltGrIsDeadKey": false
		},
		"Digit0": {
			"value": "0",
			"valueIsDeadKey": false,
			"withShift": ")",
			"withShiftIsDeadKey": false,
			"withAltGr": "º",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "‚",
			"withShiftAltGrIsDeadKey": false
		},
		"Enter": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"Escape": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"Backspace": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"Tab": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"Space": {
			"value": " ",
			"valueIsDeadKey": false,
			"withShift": " ",
			"withShiftIsDeadKey": false,
			"withAltGr": " ",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": " ",
			"withShiftAltGrIsDeadKey": false
		},
		"Minus": {
			"value": "-",
			"valueIsDeadKey": false,
			"withShift": "_",
			"withShiftIsDeadKey": false,
			"withAltGr": "–",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "—",
			"withShiftAltGrIsDeadKey": false
		},
		"Equal": {
			"value": "=",
			"valueIsDeadKey": false,
			"withShift": "+",
			"withShiftIsDeadKey": false,
			"withAltGr": "≠",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "±",
			"withShiftAltGrIsDeadKey": false
		},
		"BracketLeft": {
			"value": "[",
			"valueIsDeadKey": false,
			"withShift": "{",
			"withShiftIsDeadKey": false,
			"withAltGr": "“",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "”",
			"withShiftAltGrIsDeadKey": false
		},
		"BracketRight": {
			"value": "]",
			"valueIsDeadKey": false,
			"withShift": "}",
			"withShiftIsDeadKey": false,
			"withAltGr": "‘",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "’",
			"withShiftAltGrIsDeadKey": false
		},
		"Backslash": {
			"value": "\\",
			"valueIsDeadKey": false,
			"withShift": "|",
			"withShiftIsDeadKey": false,
			"withAltGr": "«",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "»",
			"withShiftAltGrIsDeadKey": false
		},
		"Semicolon": {
			"value": ";",
			"valueIsDeadKey": false,
			"withShift": ":",
			"withShiftIsDeadKey": false,
			"withAltGr": "…",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "Ú",
			"withShiftAltGrIsDeadKey": false
		},
		"Quote": {
			"value": "'",
			"valueIsDeadKey": false,
			"withShift": "\"",
			"withShiftIsDeadKey": false,
			"withAltGr": "æ",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "Æ",
			"withShiftAltGrIsDeadKey": false
		},
		"Backquote": {
			"value": "`",
			"valueIsDeadKey": false,
			"withShift": "~",
			"withShiftIsDeadKey": false,
			"withAltGr": "`",
			"withAltGrIsDeadKey": true,
			"withShiftAltGr": "`",
			"withShiftAltGrIsDeadKey": false
		},
		"Comma": {
			"value": ",",
			"valueIsDeadKey": false,
			"withShift": "<",
			"withShiftIsDeadKey": false,
			"withAltGr": "≤",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "¯",
			"withShiftAltGrIsDeadKey": false
		},
		"Period": {
			"value": ".",
			"valueIsDeadKey": false,
			"withShift": ">",
			"withShiftIsDeadKey": false,
			"withAltGr": "≥",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "˘",
			"withShiftAltGrIsDeadKey": false
		},
		"Slash": {
			"value": "/",
			"valueIsDeadKey": false,
			"withShift": "?",
			"withShiftIsDeadKey": false,
			"withAltGr": "÷",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "¿",
			"withShiftAltGrIsDeadKey": false
		},
		"CapsLock": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F1": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F2": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F3": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F4": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F5": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F6": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F7": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F8": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F9": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F10": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F11": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F12": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"Insert": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"Home": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"PageUp": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"Delete": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"End": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"PageDown": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"ArrowRight": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"ArrowLeft": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"ArrowDown": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"ArrowUp": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"NumLock": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"NumpadDivide": {
			"value": "/",
			"valueIsDeadKey": false,
			"withShift": "/",
			"withShiftIsDeadKey": false,
			"withAltGr": "/",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "/",
			"withShiftAltGrIsDeadKey": false
		},
		"NumpadMultiply": {
			"value": "*",
			"valueIsDeadKey": false,
			"withShift": "*",
			"withShiftIsDeadKey": false,
			"withAltGr": "*",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "*",
			"withShiftAltGrIsDeadKey": false
		},
		"NumpadSubtract": {
			"value": "-",
			"valueIsDeadKey": false,
			"withShift": "-",
			"withShiftIsDeadKey": false,
			"withAltGr": "-",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "-",
			"withShiftAltGrIsDeadKey": false
		},
		"NumpadAdd": {
			"value": "+",
			"valueIsDeadKey": false,
			"withShift": "+",
			"withShiftIsDeadKey": false,
			"withAltGr": "+",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "+",
			"withShiftAltGrIsDeadKey": false
		},
		"NumpadEnter": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"Numpad1": {
			"value": "1",
			"valueIsDeadKey": false,
			"withShift": "1",
			"withShiftIsDeadKey": false,
			"withAltGr": "1",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "1",
			"withShiftAltGrIsDeadKey": false
		},
		"Numpad2": {
			"value": "2",
			"valueIsDeadKey": false,
			"withShift": "2",
			"withShiftIsDeadKey": false,
			"withAltGr": "2",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "2",
			"withShiftAltGrIsDeadKey": false
		},
		"Numpad3": {
			"value": "3",
			"valueIsDeadKey": false,
			"withShift": "3",
			"withShiftIsDeadKey": false,
			"withAltGr": "3",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "3",
			"withShiftAltGrIsDeadKey": false
		},
		"Numpad4": {
			"value": "4",
			"valueIsDeadKey": false,
			"withShift": "4",
			"withShiftIsDeadKey": false,
			"withAltGr": "4",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "4",
			"withShiftAltGrIsDeadKey": false
		},
		"Numpad5": {
			"value": "5",
			"valueIsDeadKey": false,
			"withShift": "5",
			"withShiftIsDeadKey": false,
			"withAltGr": "5",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "5",
			"withShiftAltGrIsDeadKey": false
		},
		"Numpad6": {
			"value": "6",
			"valueIsDeadKey": false,
			"withShift": "6",
			"withShiftIsDeadKey": false,
			"withAltGr": "6",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "6",
			"withShiftAltGrIsDeadKey": false
		},
		"Numpad7": {
			"value": "7",
			"valueIsDeadKey": false,
			"withShift": "7",
			"withShiftIsDeadKey": false,
			"withAltGr": "7",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "7",
			"withShiftAltGrIsDeadKey": false
		},
		"Numpad8": {
			"value": "8",
			"valueIsDeadKey": false,
			"withShift": "8",
			"withShiftIsDeadKey": false,
			"withAltGr": "8",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "8",
			"withShiftAltGrIsDeadKey": false
		},
		"Numpad9": {
			"value": "9",
			"valueIsDeadKey": false,
			"withShift": "9",
			"withShiftIsDeadKey": false,
			"withAltGr": "9",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "9",
			"withShiftAltGrIsDeadKey": false
		},
		"Numpad0": {
			"value": "0",
			"valueIsDeadKey": false,
			"withShift": "0",
			"withShiftIsDeadKey": false,
			"withAltGr": "0",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "0",
			"withShiftAltGrIsDeadKey": false
		},
		"NumpadDecimal": {
			"value": ".",
			"valueIsDeadKey": false,
			"withShift": ".",
			"withShiftIsDeadKey": false,
			"withAltGr": ".",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": ".",
			"withShiftAltGrIsDeadKey": false
		},
		"IntlBackslash": {
			"value": "§",
			"valueIsDeadKey": false,
			"withShift": "±",
			"withShiftIsDeadKey": false,
			"withAltGr": "§",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "±",
			"withShiftAltGrIsDeadKey": false
		},
		"ContextMenu": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"NumpadEqual": {
			"value": "=",
			"valueIsDeadKey": false,
			"withShift": "=",
			"withShiftIsDeadKey": false,
			"withAltGr": "=",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "=",
			"withShiftAltGrIsDeadKey": false
		},
		"F13": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F14": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F15": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F16": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F17": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F18": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F19": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"F20": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"AudioVolumeMute": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"AudioVolumeUp": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "=",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "=",
			"withShiftAltGrIsDeadKey": false
		},
		"AudioVolumeDown": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"NumpadComma": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"IntlRo": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"KanaMode": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"IntlYen": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"ControlLeft": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"ShiftLeft": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"AltLeft": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"MetaLeft": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"ControlRight": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"ShiftRight": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"AltRight": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		},
		"MetaRight": {
			"value": "",
			"valueIsDeadKey": false,
			"withShift": "",
			"withShiftIsDeadKey": false,
			"withAltGr": "",
			"withAltGrIsDeadKey": false,
			"withShiftAltGr": "",
			"withShiftAltGrIsDeadKey": false
		}
	}
}

@alexdima
Copy link
Member

@fujikky cmd+[ is not reaching vs code. This is not a problem with vs code. As can be seen in the initial GIF that you posted, vscode does not receive it. There is no log statement saying resolving meta+[BracketLeft].

There are log statements for shift+meta+[BracketRight] (cmd+shift+]) and meta+[BracketRight] (cmd+]):

image
image

This means that this keybinding does not reach vs code. There is no point to change anything inside vs code. You need to check at the OS level if you have any software that would eat that keybinding up or if the OS has any shortcuts configured to that keybinding.

@PabloLema
Copy link

I have the same problem and I have already tried with the keyboard layout and with the Insiders and normal version of vsCode and nothing improves. I also tried the same shortcut in google chrome to navigate back and forward in the history and it works fine.

@alexdima
Copy link
Member

alexdima commented Feb 3, 2021

@PabloLema Please open a separate issue with your specific OS, VS Code version, and keyboard layout. Sometimes, keybinding issues appear to be the same, but in reality might have different root causes.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster keyboard-layout Keyboard layout issues macos Issues with VS Code on MAC/OS X
Projects
None yet
Development

No branches or pull requests

4 participants