Skip to content

Commit

Permalink
feat: enable codeedits (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
hacke2 authored Dec 24, 2024
1 parent 5c8294b commit 54d0ef3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bootstrap/browser/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,14 +175,17 @@ 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),
AINativeConfig: {
layout: {
menubarLogo: logo,
}
}
},
}

const app = new ClientApp(opts);
Expand Down

0 comments on commit 54d0ef3

Please sign in to comment.