From e2f2726221e185c1872dedaf7b9f8bc8e89e526e Mon Sep 17 00:00:00 2001 From: cyfung1031 <44498510+cyfung1031@users.noreply.github.com> Date: Sun, 22 Mar 2026 02:34:44 +0900 Subject: [PATCH] fix-monaco-config --- src/pages/components/CodeEditor/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/components/CodeEditor/index.tsx b/src/pages/components/CodeEditor/index.tsx index 804f3d1dd..6cde1e74d 100644 --- a/src/pages/components/CodeEditor/index.tsx +++ b/src/pages/components/CodeEditor/index.tsx @@ -85,7 +85,7 @@ const CodeEditor: React.ForwardRefRenderFunction<{ editor: editor.IStandaloneCod suggestSelection: "first", // Enable word based suggestions - wordBasedSuggestions: "matchingDocuments", + wordBasedSuggestions: "off", // Enable parameter hints parameterHints: { @@ -97,7 +97,7 @@ const CodeEditor: React.ForwardRefRenderFunction<{ editor: editor.IStandaloneCod // https://github.com/is0383kk/VSCode quickSuggestions: { - other: "inline", + other: true, comments: true, strings: true, },