Skip to content

Commit 04edc75

Browse files
authored
chat - add quick chat to status (microsoft#242199)
1 parent 27a7e11 commit 04edc75

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/vs/workbench/contrib/chat/browser/chatStatus.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,8 @@ export class ChatStatusBarEntry extends Disposable implements IWorkbenchContribu
333333
CTX_INLINE_CHAT_POSSIBLE,
334334
EditorContextKeys.writable,
335335
EditorContextKeys.editorSimpleInput.negate()
336-
)) ? { text: localize('shortcuts.inlineChat', "Inline Chat"), id: 'inlineChat.start' } : undefined
336+
)) ? { text: localize('shortcuts.inlineChat', "Inline Chat"), id: 'inlineChat.start' } : undefined,
337+
{ text: localize('shortcuts.quickChat', "Quick Chat"), id: 'workbench.action.quickchat.toggle' },
337338
]);
338339

339340
const onTrigger = (commandId: string, e: EventLike) => {
@@ -358,7 +359,7 @@ export class ChatStatusBarEntry extends Disposable implements IWorkbenchContribu
358359

359360
disposables.add(Gesture.addTarget(shortcut));
360361
[EventType.CLICK, TouchEventType.Tap].forEach(eventType => {
361-
disposables.add(addDisposableListener(shortcuts, eventType, e => onTrigger(entry.id, e)));
362+
disposables.add(addDisposableListener(shortcut, eventType, e => onTrigger(entry.id, e)));
362363
});
363364

364365
disposables.add(addDisposableListener(shortcut, EventType.KEY_DOWN, e => {

0 commit comments

Comments
 (0)