You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Autocompletion: register depended parsers with the main parser
This commit is contained in:
@@ -260,6 +260,7 @@ void GDScriptParser::make_completion_context(CompletionType p_type, Node *p_node
|
||||
context.current_line = tokenizer->get_cursor_line();
|
||||
context.current_argument = p_argument;
|
||||
context.node = p_node;
|
||||
context.parser = this;
|
||||
completion_context = context;
|
||||
}
|
||||
|
||||
@@ -277,6 +278,7 @@ void GDScriptParser::make_completion_context(CompletionType p_type, Variant::Typ
|
||||
context.current_suite = current_suite;
|
||||
context.current_line = tokenizer->get_cursor_line();
|
||||
context.builtin_type = p_builtin_type;
|
||||
context.parser = this;
|
||||
completion_context = context;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user