Skip to content

Commit 54d0ef3

Browse files
authored
feat: enable codeedits (#85)
1 parent 5c8294b commit 54d0ef3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/bootstrap/browser/index.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,17 @@ async function renderApp() {
175175
[AINativeSettingSectionsId.IntelligentCompletionsPromptEngineeringEnabled]: false,
176176
// 总是显示智能提示
177177
[AINativeSettingSectionsId.IntelligentCompletionsAlwaysVisible]: true,
178+
// 开启 Code Edits
179+
[AINativeSettingSectionsId.CodeEditsLintErrors]: true,
180+
[AINativeSettingSectionsId.CodeEditsLineChange]: true,
178181
},
179182
onigWasmUri: URI.file(electronEnv.onigWasmPath).toString(true),
180183
treeSitterWasmDirectoryUri: URI.file(electronEnv.treeSitterWasmDirectoryPath).toString(true),
181184
AINativeConfig: {
182185
layout: {
183186
menubarLogo: logo,
184187
}
185-
}
188+
},
186189
}
187190

188191
const app = new ClientApp(opts);

0 commit comments

Comments
 (0)