mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-26 19:36:52 +01:00
Merge pull request #196226 from microsoft/digitarald/dependent-fly
Fix inline chat command title
This commit is contained in:
@@ -31,7 +31,7 @@ export function getAccessibilityHelpText(accessor: ServicesAccessor, type: 'pane
|
||||
} else {
|
||||
const startChatKeybinding = keybindingService.lookupKeybinding('inlineChat.start')?.getAriaLabel();
|
||||
content.push(localize('inlineChat.overview', "Inline chat occurs within a code editor and takes into account the current selection. It is useful for making changes to the current editor. For example, fixing diagnostics, documenting or refactoring code. Keep in mind that AI generated code may be incorrect."));
|
||||
content.push(localize('inlineChat.access', "It can be activated via code actions or directly using the command: Inline Chat: Start Code Chat ({0}).", startChatKeybinding));
|
||||
content.push(localize('inlineChat.access', "It can be activated via code actions or directly using the command: Inline Chat: Start Inline Chat ({0}).", startChatKeybinding));
|
||||
const upHistoryKeybinding = keybindingService.lookupKeybinding('inlineChat.previousFromHistory')?.getAriaLabel();
|
||||
const downHistoryKeybinding = keybindingService.lookupKeybinding('inlineChat.nextFromHistory')?.getAriaLabel();
|
||||
if (upHistoryKeybinding && downHistoryKeybinding) {
|
||||
|
||||
@@ -37,7 +37,7 @@ export class StartSessionAction extends EditorAction2 {
|
||||
constructor() {
|
||||
super({
|
||||
id: 'inlineChat.start',
|
||||
title: { value: localize('run', 'Start Code Chat'), original: 'Start Code Chat' },
|
||||
title: { value: localize('run', 'Start Inline Chat'), original: 'Start Inline Chat' },
|
||||
category: AbstractInlineChatAction.category,
|
||||
f1: true,
|
||||
precondition: ContextKeyExpr.and(CTX_INLINE_CHAT_HAS_PROVIDER, EditorContextKeys.writable),
|
||||
@@ -64,7 +64,7 @@ export class UnstashSessionAction extends EditorAction2 {
|
||||
constructor() {
|
||||
super({
|
||||
id: 'inlineChat.unstash',
|
||||
title: { value: localize('unstash', 'Resume Last Dismissed Code Chat'), original: 'Resume Last Dismissed Code Chat' },
|
||||
title: { value: localize('unstash', 'Resume Last Dismissed Inline Chat'), original: 'Resume Last Dismissed Inline Chat' },
|
||||
category: AbstractInlineChatAction.category,
|
||||
precondition: ContextKeyExpr.and(CTX_INLINE_CHAT_HAS_STASHED_SESSION, EditorContextKeys.writable),
|
||||
keybinding: {
|
||||
|
||||
Reference in New Issue
Block a user