소스 검색

Merge pull request #108714 from adamscott/fix-gdscript-language-server-web

[Web] Disable GDScript LSP
Thaddeus Crews 1 개월 전
부모
커밋
0b4e26179d
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      platform/web/detect.py

+ 3 - 0
platform/web/detect.py

@@ -330,3 +330,6 @@ def configure(env: "SConsEnvironment"):
     # This workaround creates a closure that prevents the garbage collector from freeing the WebGL context.
     # We also only use WebGL2, and changing context version is not widely supported anyway.
     env.Append(LINKFLAGS=["-sGL_WORKAROUND_SAFARI_GETCONTEXT_BUG=0"])
+
+    # Disable GDScript LSP (as the Web platform is not compatible with TCP).
+    env.Append(CPPDEFINES=["GDSCRIPT_NO_LSP"])