mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Autocompletion: rework argument options string literal completion
This commit is contained in:
parent
f3af22b10b
commit
0abd0ae364
30 changed files with 201 additions and 21 deletions
|
@ -1455,9 +1455,11 @@ private:
|
|||
}
|
||||
void apply_pending_warnings();
|
||||
#endif
|
||||
|
||||
void make_completion_context(CompletionType p_type, Node *p_node, int p_argument = -1, bool p_force = false);
|
||||
void make_completion_context(CompletionType p_type, Variant::Type p_builtin_type, bool p_force = false);
|
||||
void make_completion_context(CompletionType p_type, Node *p_node, int p_argument = -1);
|
||||
void make_completion_context(CompletionType p_type, Variant::Type p_builtin_type);
|
||||
// In some cases it might become necessary to alter the completion context after parsing a subexpression.
|
||||
// For example to not override COMPLETE_CALL_ARGUMENTS with COMPLETION_NONE from string literals.
|
||||
void override_completion_context(const Node *p_for_node, CompletionType p_type, Node *p_node, int p_argument = -1);
|
||||
void push_completion_call(Node *p_call);
|
||||
void pop_completion_call();
|
||||
void set_last_completion_call_arg(int p_argument);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue