diff options
author | NNesh <mullruslan@yandex.ru> | 2021-12-30 15:25:02 +0500 |
---|---|---|
committer | NNesh <mullruslan@yandex.ru> | 2022-01-08 01:49:18 +0500 |
commit | 1a1ee43e3ea6e515a60c2d5c0798b6eac2dba2ad (patch) | |
tree | a486f3ca7a8302d48fd052f991311b8a1677a2c5 /modules | |
parent | 9f058674acebf9a7a0704cdbc26dc9f6d853b16e (diff) |
Fixed completion showing for class members
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gdscript/gdscript_parser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index 48f58e51fe..bf4feb68b2 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -805,6 +805,8 @@ void GDScriptParser::parse_class_body(bool p_is_multiline) { class_end = true; break; default: + // Display a completion with identifiers. + make_completion_context(COMPLETION_IDENTIFIER, nullptr); push_error(vformat(R"(Unexpected "%s" in class body.)", current.get_name())); advance(); break; |