Skip to content

Commit 7263131

Browse files
committed
Deleted action and reneamed
1 parent f1655f6 commit 7263131

File tree

1 file changed

+2
-31
lines changed

1 file changed

+2
-31
lines changed

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

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -921,35 +921,6 @@ export function registerChatActions() {
921921
});
922922
}
923923

924-
async run(accessor: ServicesAccessor) {
925-
const editorService = accessor.get(IEditorService);
926-
await editorService.openEditor({
927-
resource: ChatEditorInput.getNewEditorUri(),
928-
options: {
929-
pinned: true,
930-
auxiliary: { compact: true, bounds: { width: 640, height: 640 } }
931-
} satisfies IChatEditorOptions
932-
}, AUX_WINDOW_GROUP);
933-
}
934-
});
935-
936-
registerAction2(class OpenChatEditorInNewMaximizedWindowAction extends Action2 {
937-
constructor() {
938-
super({
939-
id: `workbench.action.chat.newChatInNewMaximizedWindow`,
940-
title: localize2('chatSessions.openNewChatInNewMaximizedWindow', 'Open New Chat in Maximized Window'),
941-
f1: false,
942-
category: CHAT_CATEGORY,
943-
precondition: ChatContextKeys.enabled,
944-
menu: {
945-
id: MenuId.ViewTitle,
946-
group: 'submenu',
947-
order: 1,
948-
when: ContextKeyExpr.equals('view', `${VIEWLET_ID}.local`),
949-
}
950-
});
951-
}
952-
953924
async run(accessor: ServicesAccessor) {
954925
const editorService = accessor.get(IEditorService);
955926
await editorService.openEditor({
@@ -965,8 +936,8 @@ export function registerChatActions() {
965936
registerAction2(class NewChatInSideBarAction extends Action2 {
966937
constructor() {
967938
super({
968-
id: `workbench.action.chat.newChatInSideBar`,
969-
title: localize2('chatSessions.openNewChatInSideBar', 'Open New Chat in Side Bar'),
939+
id: `workbench.action.chat.newChatInWidget`,
940+
title: localize2('chatSessions.newChatInWidget', 'Open New Chat in Widget'),
970941
f1: false,
971942
category: CHAT_CATEGORY,
972943
precondition: ChatContextKeys.enabled,

0 commit comments

Comments
 (0)