This commit is contained in:
meganrogge
2023-10-11 14:20:11 -07:00
parent 11b906a3a2
commit 60310a66e4
2 changed files with 8 additions and 3 deletions
@@ -184,8 +184,8 @@ class AccessibleViewAcceptInlineCompletionAction extends Action2 {
id: AccessibilityCommandId.AccessibleViewAcceptInlineCompletion,
precondition: ContextKeyExpr.and(accessibleViewIsShown, ContextKeyExpr.equals(accessibleViewCurrentProviderId.key, AccessibleViewProviderId.InlineCompletions)),
keybinding: {
primary: KeyMod.CtrlCmd | KeyCode.Slash,
mac: { primary: KeyMod.WinCtrl | KeyCode.Slash },
primary: KeyMod.CtrlCmd | KeyCode.Enter,
mac: { primary: KeyMod.WinCtrl | KeyCode.Enter },
weight: KeybindingWeight.WorkbenchContrib
},
icon: Codicon.check,
@@ -180,7 +180,12 @@ export function registerChatCodeBlockActions() {
menu: {
id: MenuId.ChatCodeBlock,
group: 'navigation',
}
},
keybinding: {
primary: KeyMod.CtrlCmd | KeyCode.Enter,
mac: { primary: KeyMod.WinCtrl | KeyCode.Enter },
weight: KeybindingWeight.WorkbenchContrib
},
});
}