Enable cmd+up to focus chat list in terminal and inline chat widgets (#224645)

* Enable cmd+up to focus chat list in terminal and inline chat widgets
Fix #218088

* Clean up
This commit is contained in:
Rob Lourens
2024-08-02 15:20:18 -07:00
committed by GitHub
parent 70c640b684
commit c21836e428
3 changed files with 24 additions and 15 deletions

View File

@@ -29,6 +29,7 @@ import { registerIcon } from 'vs/platform/theme/common/iconRegistry';
import { IPreferencesService } from 'vs/workbench/services/preferences/common/preferences';
import { ILogService } from 'vs/platform/log/common/log';
import { IChatService } from 'vs/workbench/contrib/chat/common/chatService';
import { CONTEXT_IN_CHAT_INPUT } from 'vs/workbench/contrib/chat/common/chatContextKeys';
CommandsRegistry.registerCommandAlias('interactiveEditor.start', 'inlineChat.start');
CommandsRegistry.registerCommandAlias('interactive.acceptChanges', ACTION_ACCEPT_CHANGES);
@@ -504,6 +505,7 @@ export class ViewInChatAction extends AbstractInlineChatAction {
keybinding: {
weight: KeybindingWeight.WorkbenchContrib,
primary: KeyMod.CtrlCmd | KeyCode.DownArrow,
when: CONTEXT_IN_CHAT_INPUT
}
});
}