Added autocomplete for file paths in the script editor
This commit is contained in:
parent
e55a496f79
commit
71978685f9
4 changed files with 33 additions and 0 deletions
|
|
@ -387,6 +387,13 @@ GDParser::Node *GDParser::_parse_expression(Node *p_parent, bool p_static, bool
|
|||
_set_error("Expected '(' after 'preload'");
|
||||
return NULL;
|
||||
}
|
||||
completion_cursor = StringName();
|
||||
completion_type = COMPLETION_PRELOAD;
|
||||
completion_class = current_class;
|
||||
completion_function = current_function;
|
||||
completion_line = tokenizer->get_token_line();
|
||||
completion_block = current_block;
|
||||
completion_found = true;
|
||||
tokenizer->advance();
|
||||
|
||||
String path;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue