copilot head

This commit is contained in:
Andrew Pareles 2025-04-09 16:22:38 -07:00
parent 89b29ac97b
commit c7bdd2d64c

View file

@ -653,10 +653,12 @@ MenuRegistry.appendMenuItem(MenuId.CommandCenter, {
submenu: MenuId.ChatTitleBarMenu, submenu: MenuId.ChatTitleBarMenu,
title: localize('title4', "Copilot"), title: localize('title4', "Copilot"),
icon: Codicon.copilot, icon: Codicon.copilot,
when: ContextKeyExpr.and( // Void commented this out - copilot head
ChatContextKeys.supported, when: ContextKeyExpr.false(),
ContextKeyExpr.has('config.chat.commandCenter.enabled') // when: ContextKeyExpr.and(
), // ChatContextKeys.supported,
// ContextKeyExpr.has('config.chat.commandCenter.enabled')
// ),
order: 10001 // to the right of command center order: 10001 // to the right of command center
}); });
@ -666,11 +668,13 @@ MenuRegistry.appendMenuItem(MenuId.TitleBar, {
title: localize('title4', "Copilot"), title: localize('title4', "Copilot"),
group: 'navigation', group: 'navigation',
icon: Codicon.copilot, icon: Codicon.copilot,
when: ContextKeyExpr.and( when: ContextKeyExpr.false(),
ChatContextKeys.supported, // Void commented this out - copilot head
ContextKeyExpr.has('config.chat.commandCenter.enabled'), // when: ContextKeyExpr.and(
ContextKeyExpr.has('config.window.commandCenter').negate(), // ChatContextKeys.supported,
), // ContextKeyExpr.has('config.chat.commandCenter.enabled'),
// ContextKeyExpr.has('config.window.commandCenter').negate(),
// ),
order: 1 order: 1
}); });