Skip to content

Commit

Permalink
Merge pull request #190 from hjdhnx/main
Browse files Browse the repository at this point in the history
写源工具增加完整的drpy可能涉及的函数变量智能提示。
  • Loading branch information
Hiram-Wong authored May 4, 2024
2 parents d236076 + 5eacdfb commit 8172d81
Show file tree
Hide file tree
Showing 2 changed files with 466 additions and 28 deletions.
1 change: 1 addition & 0 deletions src/renderer/src/pages/setting/tool/EditSource.vue
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,7 @@ const initEditor = () => {
return {
suggestions: createDependencyProposals(monacoRange, monaco).map(proposal => ({
label: proposal.label,
detail: proposal.detail,
kind: proposal.kind || monaco.languages.CompletionItemKind.Function, // 确保指定了一个有效的kind
insertText: proposal.insertText,
insertTextRules: proposal.insertTextRules || monaco.languages.CompletionItemInsertTextRule.None,
Expand Down
Loading

0 comments on commit 8172d81

Please sign in to comment.