Skip to content

Commit 0480008

Browse files
authored
fix: rename Add Files to Add Context (microsoft#242355)
1 parent adf0ff0 commit 0480008

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -968,9 +968,9 @@ export class AttachContextAction extends Action2 {
968968
registerAction2(class AttachFilesAction extends AttachContextAction {
969969
constructor() {
970970
super({
971-
id: 'workbench.action.chat.editing.attachFiles',
972-
title: localize2('workbench.action.chat.editing.attachFiles.label', "Add Files to Copilot Edits"),
973-
shortTitle: localize2('workbench.action.chat.editing.attachFiles.shortLabel', "Add Files..."),
971+
id: 'workbench.action.chat.editing.attachContext',
972+
title: localize2('workbench.action.chat.editing.attachContext.label', "Add Context to Copilot Edits"),
973+
shortTitle: localize2('workbench.action.chat.editing.attachContext.shortLabel', "Add Context..."),
974974
f1: false,
975975
category: CHAT_CATEGORY,
976976
menu: { id: MenuId.ChatInputAttachmentToolbar, group: 'navigation' },

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
961961
hoverDelegate,
962962
getKeyBinding: () => undefined,
963963
actionViewItemProvider: (action, options) => {
964-
if (action.id === 'workbench.action.chat.editing.attachFiles') {
964+
if (action.id === 'workbench.action.chat.editing.attachContext') {
965965
const viewItem = this.instantiationService.createInstance(AddFilesButton, undefined, action, options);
966966
return viewItem;
967967
}

0 commit comments

Comments
 (0)