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 c364ff2 commit 2206e09Copy full SHA for 2206e09
src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.ts
@@ -43,7 +43,7 @@ export class StartSessionAction extends EditorAction2 {
43
title: { value: LOCALIZED_START_INLINE_CHAT_STRING, original: 'Start Inline Chat' },
44
category: AbstractInlineChatAction.category,
45
f1: true,
46
- precondition: CTX_INLINE_CHAT_HAS_PROVIDER,
+ precondition: ContextKeyExpr.and(CTX_INLINE_CHAT_HAS_PROVIDER, EditorContextKeys.writable),
47
keybinding: {
48
when: EditorContextKeys.focus,
49
weight: KeybindingWeight.WorkbenchContrib,
0 commit comments