Skip to content

Commit 1f8ef1a

Browse files
authored
Merge pull request microsoft#182680 from microsoft/merogge/chat-id
update chat command ids
2 parents fba29a9 + 0c97395 commit 1f8ef1a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding';
1010
export function getAccessibilityHelpText(keybindingService: IKeybindingService): string {
1111
const content = [];
1212
content.push(localize('interactiveSession.helpMenuExit', "Exit this menu and return to the interactive editor input via the Escape key."));
13-
content.push(descriptionForCommand('interactiveSession.action.focus', localize('interactiveSession.action.focus', 'The Focus Interactive Session ({0}) command focuses the chat request/response list, which can be navigated with UpArrow/DownArrow.',), localize('interactiveSession.action.focusNoKb', 'The Focus Interactive Session command focuses the chat request/response list, which can be navigated with UpArrow/DownArrow and is currently not triggerable by a keybinding.'), keybindingService));
14-
content.push(descriptionForCommand('workbench.action.interactiveSession.focusInput', localize('workbench.action.interactiveSession.focusInput', 'The Focus Interactive Session Input ({0}) command focuses the input box for chat requests.'), localize('workbench.action.interactiveSession.focusInputNoKb', 'Focus Interactive Session Input command focuses the input box for chat requests and is currently not triggerable by a keybinding.'), keybindingService));
13+
content.push(descriptionForCommand('chat.action.focus', localize('workbench.action.chat.focus', 'The Focus Chat command ({0}) focuses the chat request/response list, which can be navigated with UpArrow/DownArrow.',), localize('workbench.action.chat.focusNoKb', 'The Focus Interactive Session command focuses the chat request/response list, which can be navigated with UpArrow/DownArrow and is currently not triggerable by a keybinding.'), keybindingService));
14+
content.push(descriptionForCommand('workbench.action.chat.focusInput', localize('workbench.action.chat.focusInput', 'The Focus Chat Input command ({0}) focuses the input box for chat requests.'), localize('workbench.action.interactiveSession.focusInputNoKb', 'Focus Interactive Session Input command focuses the input box for chat requests and is currently not triggerable by a keybinding.'), keybindingService));
1515
return content.join('\n');
1616
}
1717

src/vs/workbench/contrib/chat/browser/actions/chatActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export function registerChatActions() {
132132
constructor() {
133133
super({
134134
id: 'chat.action.accessibilityHelp',
135-
label: localize('actions.interactiveSession.accessibiltyHelp', "Chat View Accessibility Help"),
135+
label: localize('chat.action.accessibiltyHelp', "Chat View Accessibility Help"),
136136
alias: 'Chat View Accessibility Help',
137137
precondition: CONTEXT_IN_INTERACTIVE_INPUT,
138138
kbOpts: {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
9494
private _getAriaLabel(): string {
9595
const verbose = this.configurationService.getValue<boolean>('accessibility.verbosity.chatInput');
9696
if (verbose) {
97-
const kbLabel = this.keybindingService.lookupKeybinding('interactiveSession.action.accessibilityHelp')?.getLabel();
98-
return kbLabel ? localize('interactiveSessionInput.accessibilityHelp', "Chat Input, Type code here and press Enter to run. Use {0} for Interactive Session Accessibility Help.", kbLabel) : localize('interactiveSessionInput.accessibilityHelpNoKb', "Chat Input, Type code here and press Enter to run. Use the Interactive Session Accessibility Help command for more information.");
97+
const kbLabel = this.keybindingService.lookupKeybinding('chat.action.accessibilityHelp')?.getLabel();
98+
return kbLabel ? localize('actions.chat.accessibiltyHelp', "Chat Input, Type code here and press enter to run. Use {0} for Chat Accessibility Help.", kbLabel) : localize('interactiveSessionInput.accessibilityHelpNoKb', "Chat Input, Type code here and press Enter to run. Use the Chat Accessibility Help command for more information.");
9999
}
100100
return localize('interactiveSessionInput', "Chat Input");
101101
}

0 commit comments

Comments
 (0)