From 66f1b4bf66caca3d8237dcedaa68799994e888c5 Mon Sep 17 00:00:00 2001 From: Francois Belair Date: Sat, 4 Dec 2021 10:52:47 -0500 Subject: [PATCH] Prevent LSP adding signal func to non GDScripts --- modules/gdscript/language_server/gdscript_workspace.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/gdscript/language_server/gdscript_workspace.cpp b/modules/gdscript/language_server/gdscript_workspace.cpp index 932bfb2caa2..9be9cbc749c 100644 --- a/modules/gdscript/language_server/gdscript_workspace.cpp +++ b/modules/gdscript/language_server/gdscript_workspace.cpp @@ -54,9 +54,13 @@ void GDScriptWorkspace::_bind_methods() { } void GDScriptWorkspace::apply_new_signal(Object *obj, String function, PackedStringArray args) { - String function_signature = "func " + function; Ref