Fixed completion showing for class members
This commit is contained in:
@ -805,6 +805,8 @@ void GDScriptParser::parse_class_body(bool p_is_multiline) {
|
|||||||
class_end = true;
|
class_end = true;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
// Display a completion with identifiers.
|
||||||
|
make_completion_context(COMPLETION_IDENTIFIER, nullptr);
|
||||||
push_error(vformat(R"(Unexpected "%s" in class body.)", current.get_name()));
|
push_error(vformat(R"(Unexpected "%s" in class body.)", current.get_name()));
|
||||||
advance();
|
advance();
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user