Skip to content

Commit b6b3a00

Browse files
authored
🐛 修复代码编辑框提示问题 (#1301)
1 parent b09ba09 commit b6b3a00

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pages/components/CodeEditor/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const CodeEditor: React.ForwardRefRenderFunction<{ editor: editor.IStandaloneCod
8585
suggestSelection: "first",
8686

8787
// Enable word based suggestions
88-
wordBasedSuggestions: "matchingDocuments",
88+
wordBasedSuggestions: "off",
8989

9090
// Enable parameter hints
9191
parameterHints: {
@@ -97,7 +97,7 @@ const CodeEditor: React.ForwardRefRenderFunction<{ editor: editor.IStandaloneCod
9797
// https://github.com/is0383kk/VSCode
9898

9999
quickSuggestions: {
100-
other: "inline",
100+
other: true,
101101
comments: true,
102102
strings: true,
103103
},

0 commit comments

Comments
 (0)