mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
does not appear to work with when clauses inside of menu
This commit is contained in:
@@ -462,8 +462,8 @@ export class ToggleInlineDiff extends AbstractInlineChatAction {
|
||||
mnemonicTitle: localize({ key: 'miShowDiff2', comment: ['&& denotes a mnemonic'] }, "&&Show Diff")
|
||||
},
|
||||
menu: [
|
||||
{ id: MenuId.CommandPalette },
|
||||
{ id: MENU_INLINE_CHAT_WIDGET_TOGGLE }
|
||||
{ id: MenuId.CommandPalette, when: CTX_INLINE_CHAT_EDIT_MODE.notEqualsTo(EditMode.Preview) },
|
||||
{ id: MENU_INLINE_CHAT_WIDGET_TOGGLE, when: CTX_INLINE_CHAT_EDIT_MODE.notEqualsTo(EditMode.Preview) }
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user