Johannes Rieken
2023-11-30 15:09:08 +01:00
committed by GitHub
parent c364ff25d1
commit 2206e09ec5

View File

@@ -43,7 +43,7 @@ export class StartSessionAction extends EditorAction2 {
title: { value: LOCALIZED_START_INLINE_CHAT_STRING, original: 'Start Inline Chat' },
category: AbstractInlineChatAction.category,
f1: true,
precondition: CTX_INLINE_CHAT_HAS_PROVIDER,
precondition: ContextKeyExpr.and(CTX_INLINE_CHAT_HAS_PROVIDER, EditorContextKeys.writable),
keybinding: {
when: EditorContextKeys.focus,
weight: KeybindingWeight.WorkbenchContrib,