Skip to content

Commit 6e78a49

Browse files
committed
优化补全方式
1 parent e6f8898 commit 6e78a49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

iframe/script/User_config/ACE_Config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function ACE_CodingForEDA(editor, edcode) {
5656
for (const e of edcode) {
5757
// 构建 snippet:方法参数提示
5858
const paramPlaceholders = e.parameters.map((p, idx) => `\${${idx + 1}:${p.name}}`).join(', ');
59-
const snippet = '//' + e.description + '\n' + e.methodPath + '(' + paramPlaceholders + ')';
59+
const snippet = e.methodPath + '(' + paramPlaceholders + ')';
6060
// 按方法名注册
6161
completers.push({
6262
caption: e.methodPath,

0 commit comments

Comments
 (0)