From dbd9f04649ffc276f44913e4c2f52cdb8ffe3c78 Mon Sep 17 00:00:00 2001 From: langxm Date: Wed, 14 Oct 2026 13:54:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(M7.5d2):=20=E5=85=B3=20wordBasedSuggestions?= =?UTF-8?q?=E2=80=94=E2=80=94int=20main()=20=E7=A9=BA=E4=B8=8A=E4=B8=8B?= =?UTF-8?q?=E6=96=87=E4=B8=8D=E5=86=8D=E5=BC=B9=E6=96=87=E6=A1=A3=E8=AF=8D?= =?UTF-8?q?=E8=A1=A5=E5=85=A8=EF=BC=8C=E4=BB=85=20LSP/include=20=E8=AF=AD?= =?UTF-8?q?=E4=B9=89=E8=A1=A5=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/index.html b/frontend/index.html index b896fbc..a6f2a17 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -453,6 +453,7 @@ function bootMonaco(){ value: defaultCode(), language: 'java', automaticLayout:true, fontSize:13.5, minimap:{enabled:false}, scrollBeyondLastLine:false, tabSize:2, suggestOnTriggerCharacters:true, quickSuggestions:true, + wordBasedSuggestions:false, /* 空上下文不弹文档词补全(如 int main() 后),只保留 LSP/include 语义补全 */ fixedOverflowWidgets:true }); /* 注意:Monaco 无 KeyMod.CmdCmd(undefined|Enter 会变成裸 Enter 绑定导致回车即提交)——必须用 CtrlCmd */