We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 445ed8e commit 869503bCopy full SHA for 869503b
src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.ts
@@ -462,8 +462,8 @@ export class ToggleInlineDiff extends AbstractInlineChatAction {
462
mnemonicTitle: localize({ key: 'miShowDiff2', comment: ['&& denotes a mnemonic'] }, "&&Show Diff")
463
},
464
menu: [
465
- { id: MenuId.CommandPalette },
466
- { 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) }
467
]
468
});
469
}
0 commit comments