summaryrefslogtreecommitdiff
path: root/core/object
diff options
context:
space:
mode:
authorYuri Rubinsky <chaosus89@gmail.com>2022-05-12 16:07:05 +0300
committerYuri Rubinsky <chaosus89@gmail.com>2022-05-12 16:10:48 +0300
commita439832035a0a07426b4557b4286b2e2e4992054 (patch)
treea0d5e2b74f00d7a98d437e20b353cd289faf27db /core/object
parenta624bfe150b6f438075993cdc96ea2703f08bfc7 (diff)
Fix signal completion in GDScript editor
Diffstat (limited to 'core/object')
-rw-r--r--core/object/script_language.h1
-rw-r--r--core/object/script_language_extension.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/object/script_language.h b/core/object/script_language.h
index f58ef45743..bd87427eaf 100644
--- a/core/object/script_language.h
+++ b/core/object/script_language.h
@@ -346,6 +346,7 @@ public:
LOOKUP_RESULT_CLASS_CONSTANT,
LOOKUP_RESULT_CLASS_PROPERTY,
LOOKUP_RESULT_CLASS_METHOD,
+ LOOKUP_RESULT_CLASS_SIGNAL,
LOOKUP_RESULT_CLASS_ENUM,
LOOKUP_RESULT_CLASS_TBD_GLOBALSCOPE,
LOOKUP_RESULT_MAX
diff --git a/core/object/script_language_extension.cpp b/core/object/script_language_extension.cpp
index 21d7685674..5af79bbea3 100644
--- a/core/object/script_language_extension.cpp
+++ b/core/object/script_language_extension.cpp
@@ -157,6 +157,7 @@ void ScriptLanguageExtension::_bind_methods() {
BIND_ENUM_CONSTANT(LOOKUP_RESULT_CLASS_CONSTANT);
BIND_ENUM_CONSTANT(LOOKUP_RESULT_CLASS_PROPERTY);
BIND_ENUM_CONSTANT(LOOKUP_RESULT_CLASS_METHOD);
+ BIND_ENUM_CONSTANT(LOOKUP_RESULT_CLASS_SIGNAL);
BIND_ENUM_CONSTANT(LOOKUP_RESULT_CLASS_ENUM);
BIND_ENUM_CONSTANT(LOOKUP_RESULT_CLASS_TBD_GLOBALSCOPE);
BIND_ENUM_CONSTANT(LOOKUP_RESULT_MAX);