From 54d0ef32574bc43d3cef7906ea57824da3440bf3 Mon Sep 17 00:00:00 2001 From: hacke2 Date: Tue, 24 Dec 2024 15:23:16 +0800 Subject: [PATCH] feat: enable codeedits (#85) --- src/bootstrap/browser/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bootstrap/browser/index.ts b/src/bootstrap/browser/index.ts index c7f1ff3..9d7979f 100644 --- a/src/bootstrap/browser/index.ts +++ b/src/bootstrap/browser/index.ts @@ -175,6 +175,9 @@ async function renderApp() { [AINativeSettingSectionsId.IntelligentCompletionsPromptEngineeringEnabled]: false, // 总是显示智能提示 [AINativeSettingSectionsId.IntelligentCompletionsAlwaysVisible]: true, + // 开启 Code Edits + [AINativeSettingSectionsId.CodeEditsLintErrors]: true, + [AINativeSettingSectionsId.CodeEditsLineChange]: true, }, onigWasmUri: URI.file(electronEnv.onigWasmPath).toString(true), treeSitterWasmDirectoryUri: URI.file(electronEnv.treeSitterWasmDirectoryPath).toString(true), @@ -182,7 +185,7 @@ async function renderApp() { layout: { menubarLogo: logo, } - } + }, } const app = new ClientApp(opts);