Add code action menu ctrl+n, ctrl+p mac keybindings (#160199)

Fixes #160126
This commit is contained in:
Matt Bierner authored and GitHub committed 2022-09-06 10:54:51 -07:00
1 parent 3211507e6b
commit 6feea8bbb3
1 file changed
+2 -2
@@ -544,6 +544,7 @@ registerEditorCommand(new CodeActionContribution({
weight: weight + 100000,
primary: KeyCode.UpArrow,
secondary: [KeyMod.CtrlCmd | KeyCode.UpArrow],
mac: { primary: KeyCode.UpArrow, secondary: [KeyMod.CtrlCmd | KeyCode.UpArrow, KeyMod.WinCtrl | KeyCode.KeyP] },
}
}));
@@ -557,6 +558,7 @@ registerEditorCommand(new CodeActionContribution({
weight: weight + 100000,
primary: KeyCode.DownArrow,
secondary: [KeyMod.CtrlCmd | KeyCode.DownArrow],
mac: { primary: KeyCode.DownArrow, secondary: [KeyMod.CtrlCmd | KeyCode.DownArrow, KeyMod.WinCtrl | KeyCode.KeyN] }
}
}));
@@ -584,5 +586,3 @@ registerEditorCommand(new CodeActionContribution({
primary: KeyMod.CtrlCmd | KeyCode.Enter,
}
}));