From 84204686479acbe13b571ae93327ea64b7b3476c Mon Sep 17 00:00:00 2001 From: Adam Scott Date: Fri, 18 Jul 2025 10:39:24 -0400 Subject: [PATCH] [Web] Disable GDScript LSP --- platform/web/detect.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/web/detect.py b/platform/web/detect.py index 5a55d02b53..e714837e19 100644 --- a/platform/web/detect.py +++ b/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"])