mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-14 09:45:55 +01:00
Replace ext suggest command with experimental inline chat keybinding
Fixes #4256
This commit is contained in:
@@ -649,7 +649,18 @@ export const DEFAULT_COMMANDS_TO_SKIP_SHELL: string[] = [
|
||||
'workbench.action.quickOpenView',
|
||||
'workbench.action.toggleMaximizedPanel',
|
||||
'notification.acceptPrimaryAction',
|
||||
'runCommands'
|
||||
'runCommands',
|
||||
'workbench.action.terminal.chat.start',
|
||||
'workbench.action.terminal.chat.close',
|
||||
'workbench.action.terminal.chat.discard',
|
||||
'workbench.action.terminal.chat.makeRequest',
|
||||
'workbench.action.terminal.chat.cancel',
|
||||
'workbench.action.terminal.chat.feedbackHelpful',
|
||||
'workbench.action.terminal.chat.feedbackUnhelpful',
|
||||
'workbench.action.terminal.chat.feedbackReportIssue',
|
||||
'workbench.action.terminal.chat.runCommand',
|
||||
'workbench.action.terminal.chat.insertCommand',
|
||||
'workbench.action.terminal.chat.viewInChat',
|
||||
];
|
||||
|
||||
export const terminalContributionsDescriptor: IExtensionPointDescriptor<ITerminalContributions> = {
|
||||
|
||||
@@ -23,7 +23,8 @@ registerActiveXtermAction({
|
||||
keybinding: {
|
||||
primary: KeyMod.CtrlCmd | KeyCode.KeyI,
|
||||
when: ContextKeyExpr.and(TerminalContextKeys.focusInAny),
|
||||
weight: KeybindingWeight.WorkbenchContrib,
|
||||
// HACK: Force weight to be higher than the extension contributed keybinding to override it until it gets replaced
|
||||
weight: KeybindingWeight.ExternalExtension + 1, // KeybindingWeight.WorkbenchContrib,
|
||||
},
|
||||
f1: true,
|
||||
category: AbstractInlineChatAction.category,
|
||||
|
||||
Reference in New Issue
Block a user