mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
copilot head
This commit is contained in:
parent
89b29ac97b
commit
c7bdd2d64c
1 changed files with 13 additions and 9 deletions
|
|
@ -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
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue