mirror of
https://github.com/godotengine/godot.git
synced 2025-01-24 19:51:12 -05:00
Improve GDScript autocompletion for methods
This commit is contained in:
parent
f952bfe998
commit
ae853e1a42
52 changed files with 126 additions and 113 deletions
|
@ -1139,10 +1139,12 @@ static void _find_identifiers_in_class(const GDScriptParser::ClassNode *p_class,
|
|||
continue;
|
||||
}
|
||||
option = ScriptLanguage::CodeCompletionOption(member.function->identifier->name, ScriptLanguage::CODE_COMPLETION_KIND_FUNCTION, location);
|
||||
if (member.function->parameters.size() > 0) {
|
||||
if (member.function->parameters.size() > 0 || (member.function->info.flags & METHOD_FLAG_VARARG)) {
|
||||
option.insert_text += "(";
|
||||
option.display += U"(\u2026)";
|
||||
} else {
|
||||
option.insert_text += "()";
|
||||
option.display += "()";
|
||||
}
|
||||
break;
|
||||
case GDScriptParser::ClassNode::Member::SIGNAL:
|
||||
|
@ -1184,6 +1186,7 @@ static void _find_identifiers_in_base(const GDScriptCompletionIdentifier &p_base
|
|||
if (!p_types_only && base_type.is_meta_type && base_type.kind != GDScriptParser::DataType::BUILTIN && base_type.kind != GDScriptParser::DataType::ENUM) {
|
||||
ScriptLanguage::CodeCompletionOption option("new", ScriptLanguage::CODE_COMPLETION_KIND_FUNCTION, ScriptLanguage::LOCATION_LOCAL);
|
||||
option.insert_text += "(";
|
||||
option.display += U"(\u2026)";
|
||||
r_result.insert(option.display, option);
|
||||
}
|
||||
|
||||
|
@ -1241,10 +1244,12 @@ static void _find_identifiers_in_base(const GDScriptCompletionIdentifier &p_base
|
|||
}
|
||||
int location = p_recursion_depth + _get_method_location(scr->get_class_name(), E.name);
|
||||
ScriptLanguage::CodeCompletionOption option(E.name, ScriptLanguage::CODE_COMPLETION_KIND_FUNCTION, location);
|
||||
if (E.arguments.size()) {
|
||||
if (E.arguments.size() || (E.flags & METHOD_FLAG_VARARG)) {
|
||||
option.insert_text += "(";
|
||||
option.display += U"(\u2026)";
|
||||
} else {
|
||||
option.insert_text += "()";
|
||||
option.display += "()";
|
||||
}
|
||||
r_result.insert(option.display, option);
|
||||
}
|
||||
|
@ -1327,10 +1332,12 @@ static void _find_identifiers_in_base(const GDScriptCompletionIdentifier &p_base
|
|||
}
|
||||
int location = p_recursion_depth + _get_method_location(type, E.name);
|
||||
ScriptLanguage::CodeCompletionOption option(E.name, ScriptLanguage::CODE_COMPLETION_KIND_FUNCTION, location);
|
||||
if (E.arguments.size()) {
|
||||
if (E.arguments.size() || (E.flags & METHOD_FLAG_VARARG)) {
|
||||
option.insert_text += "(";
|
||||
option.display += U"(\u2026)";
|
||||
} else {
|
||||
option.insert_text += "()";
|
||||
option.display += "()";
|
||||
}
|
||||
r_result.insert(option.display, option);
|
||||
}
|
||||
|
@ -1398,10 +1405,12 @@ static void _find_identifiers_in_base(const GDScriptCompletionIdentifier &p_base
|
|||
continue;
|
||||
}
|
||||
ScriptLanguage::CodeCompletionOption option(E.name, ScriptLanguage::CODE_COMPLETION_KIND_FUNCTION, location);
|
||||
if (E.arguments.size()) {
|
||||
if (E.arguments.size() || (E.flags & METHOD_FLAG_VARARG)) {
|
||||
option.insert_text += "(";
|
||||
option.display += U"(\u2026)";
|
||||
} else {
|
||||
option.insert_text += "()";
|
||||
option.display += "()";
|
||||
}
|
||||
r_result.insert(option.display, option);
|
||||
}
|
||||
|
@ -1433,8 +1442,10 @@ static void _find_identifiers(const GDScriptParser::CompletionContext &p_context
|
|||
ScriptLanguage::CodeCompletionOption option(String(E), ScriptLanguage::CODE_COMPLETION_KIND_FUNCTION);
|
||||
if (function.arguments.size() || (function.flags & METHOD_FLAG_VARARG)) {
|
||||
option.insert_text += "(";
|
||||
option.display += U"(\u2026)";
|
||||
} else {
|
||||
option.insert_text += "()";
|
||||
option.display += "()";
|
||||
}
|
||||
r_result.insert(option.display, option);
|
||||
}
|
||||
|
@ -1481,6 +1492,7 @@ static void _find_identifiers(const GDScriptParser::CompletionContext &p_context
|
|||
while (*kwa) {
|
||||
ScriptLanguage::CodeCompletionOption option(*kwa, ScriptLanguage::CODE_COMPLETION_KIND_FUNCTION);
|
||||
option.insert_text += "(";
|
||||
option.display += U"(\u2026)";
|
||||
r_result.insert(option.display, option);
|
||||
kwa++;
|
||||
}
|
||||
|
@ -1491,6 +1503,7 @@ static void _find_identifiers(const GDScriptParser::CompletionContext &p_context
|
|||
for (List<StringName>::Element *E = utility_func_names.front(); E; E = E->next()) {
|
||||
ScriptLanguage::CodeCompletionOption option(E->get(), ScriptLanguage::CODE_COMPLETION_KIND_FUNCTION);
|
||||
option.insert_text += "(";
|
||||
option.display += U"(\u2026)"; // As all utility functions contain an argument or more, this is hardcoded here.
|
||||
r_result.insert(option.display, option);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[output]
|
||||
include=[
|
||||
{"display": "new"},
|
||||
{"display": "new(…)"},
|
||||
{"display": "SIZE_EXPAND"},
|
||||
{"display": "SIZE_EXPAND_FILL"},
|
||||
{"display": "SIZE_FILL"},
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[output]
|
||||
include=[
|
||||
{"display": "new"},
|
||||
{"display": "new(…)"},
|
||||
{"display": "SIZE_EXPAND"},
|
||||
{"display": "SIZE_EXPAND_FILL"},
|
||||
{"display": "SIZE_FILL"},
|
||||
|
|
|
@ -2,13 +2,13 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
|
||||
; GDScript: identifiers.gd
|
||||
|
@ -16,8 +16,8 @@ include=[
|
|||
{"display": "test_signal_2"},
|
||||
{"display": "test_var_1"},
|
||||
{"display": "test_var_2"},
|
||||
{"display": "test_func_1"},
|
||||
{"display": "test_func_2"},
|
||||
{"display": "test_func_1(…)"},
|
||||
{"display": "test_func_2(…)"},
|
||||
{"display": "test_parameter_1"},
|
||||
{"display": "test_parameter_2"},
|
||||
{"display": "local_test_var_1"},
|
||||
|
|
|
@ -2,13 +2,13 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
|
||||
; GDScript: identifiers.gd
|
||||
|
@ -16,8 +16,8 @@ include=[
|
|||
{"display": "test_signal_2"},
|
||||
{"display": "test_var_1"},
|
||||
{"display": "test_var_2"},
|
||||
{"display": "test_func_1"},
|
||||
{"display": "test_func_2"},
|
||||
{"display": "test_func_1(…)"},
|
||||
{"display": "test_func_2(…)"},
|
||||
{"display": "test_parameter_1"},
|
||||
{"display": "test_parameter_2"},
|
||||
{"display": "local_test_var_1"},
|
||||
|
|
|
@ -2,13 +2,13 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
|
||||
; GDScript: identifiers.gd
|
||||
|
@ -16,8 +16,8 @@ include=[
|
|||
{"display": "test_signal_2"},
|
||||
{"display": "test_var_1"},
|
||||
{"display": "test_var_2"},
|
||||
{"display": "test_func_1"},
|
||||
{"display": "test_func_2"},
|
||||
{"display": "test_func_1(…)"},
|
||||
{"display": "test_func_2(…)"},
|
||||
{"display": "test_parameter_1"},
|
||||
{"display": "test_parameter_2"},
|
||||
{"display": "local_test_var_1"},
|
||||
|
|
|
@ -2,14 +2,14 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
exclude=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
|
||||
; GDScript: no_completion_in_string.gd
|
||||
|
@ -17,8 +17,8 @@ exclude=[
|
|||
{"display": "test_signal_2"},
|
||||
{"display": "test_var_1"},
|
||||
{"display": "test_var_2"},
|
||||
{"display": "test_func_1"},
|
||||
{"display": "test_func_2"},
|
||||
{"display": "test_func_1(…)"},
|
||||
{"display": "test_func_2(…)"},
|
||||
{"display": "test_parameter_1"},
|
||||
{"display": "test_parameter_2"},
|
||||
{"display": "local_test_var_1"},
|
||||
|
|
|
@ -2,13 +2,13 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
|
||||
; GDScript: self.gd
|
||||
|
@ -16,6 +16,6 @@ include=[
|
|||
{"display": "test_signal_2"},
|
||||
{"display": "test_var_1"},
|
||||
{"display": "test_var_2"},
|
||||
{"display": "test_func_1"},
|
||||
{"display": "test_func_2"},
|
||||
{"display": "test_func_1(…)"},
|
||||
{"display": "test_func_2(…)"},
|
||||
]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; AnimationPlayer
|
||||
{"display": "autoplay"},
|
||||
{"display": "play"},
|
||||
{"display": "play(…)"},
|
||||
{"display": "animation_changed"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; AnimationPlayer
|
||||
{"display": "autoplay"},
|
||||
{"display": "play"},
|
||||
{"display": "play(…)"},
|
||||
{"display": "animation_changed"},
|
||||
]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; AnimationPlayer
|
||||
{"display": "autoplay"},
|
||||
{"display": "play"},
|
||||
{"display": "play(…)"},
|
||||
{"display": "animation_changed"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; AnimationPlayer
|
||||
{"display": "autoplay"},
|
||||
{"display": "play"},
|
||||
{"display": "play(…)"},
|
||||
{"display": "animation_changed"},
|
||||
]
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; AnimationPlayer
|
||||
{"display": "autoplay"},
|
||||
{"display": "play"},
|
||||
{"display": "play(…)"},
|
||||
{"display": "animation_changed"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; AnimationPlayer
|
||||
{"display": "autoplay"},
|
||||
{"display": "play"},
|
||||
{"display": "play(…)"},
|
||||
{"display": "animation_changed"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; AnimationPlayer
|
||||
{"display": "autoplay"},
|
||||
{"display": "play"},
|
||||
{"display": "play(…)"},
|
||||
{"display": "animation_changed"},
|
||||
]
|
||||
|
|
|
@ -3,18 +3,18 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; Area2D
|
||||
{"display": "get_overlapping_areas"},
|
||||
{"display": "get_overlapping_areas()"},
|
||||
{"display": "linear_damp"},
|
||||
{"display": "area_entered"},
|
||||
]
|
||||
exclude=[
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -3,18 +3,18 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; Area2D
|
||||
{"display": "get_overlapping_areas"},
|
||||
{"display": "get_overlapping_areas()"},
|
||||
{"display": "linear_damp"},
|
||||
{"display": "area_entered"},
|
||||
]
|
||||
exclude=[
|
||||
; AnimationPlayer
|
||||
{"display": "autoplay"},
|
||||
{"display": "play"},
|
||||
{"display": "play(…)"},
|
||||
{"display": "animation_changed"},
|
||||
]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; AnimationPlayer
|
||||
{"display": "autoplay"},
|
||||
{"display": "play"},
|
||||
{"display": "play(…)"},
|
||||
{"display": "animation_changed"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; AnimationPlayer
|
||||
{"display": "autoplay"},
|
||||
{"display": "play"},
|
||||
{"display": "play(…)"},
|
||||
{"display": "animation_changed"},
|
||||
]
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; AnimationPlayer
|
||||
{"display": "autoplay"},
|
||||
{"display": "play"},
|
||||
{"display": "play(…)"},
|
||||
{"display": "animation_changed"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -3,12 +3,12 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; AnimationPlayer
|
||||
{"display": "autoplay"},
|
||||
{"display": "play"},
|
||||
{"display": "play(…)"},
|
||||
{"display": "animation_changed"},
|
||||
]
|
||||
|
|
|
@ -3,7 +3,7 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
|
@ -11,6 +11,6 @@ include=[
|
|||
exclude=[
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -3,7 +3,7 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
|
@ -11,6 +11,6 @@ include=[
|
|||
exclude=[
|
||||
; AnimationPlayer
|
||||
{"display": "autoplay"},
|
||||
{"display": "play"},
|
||||
{"display": "play(…)"},
|
||||
{"display": "animation_changed"},
|
||||
]
|
||||
|
|
|
@ -3,18 +3,18 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; Area2D
|
||||
{"display": "get_overlapping_areas"},
|
||||
{"display": "get_overlapping_areas()"},
|
||||
{"display": "linear_damp"},
|
||||
{"display": "area_entered"},
|
||||
]
|
||||
exclude=[
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -3,18 +3,18 @@ scene="res://completion/get_node/get_node.tscn"
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; Area2D
|
||||
{"display": "get_overlapping_areas"},
|
||||
{"display": "get_overlapping_areas()"},
|
||||
{"display": "linear_damp"},
|
||||
{"display": "area_entered"},
|
||||
]
|
||||
exclude=[
|
||||
; AnimationPlayer
|
||||
{"display": "autoplay"},
|
||||
{"display": "play"},
|
||||
{"display": "play(…)"},
|
||||
{"display": "animation_changed"},
|
||||
]
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
]
|
||||
exclude=[
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
[output]
|
||||
include=[
|
||||
; Node
|
||||
{"display": "add_child"},
|
||||
{"display": "add_child(…)"},
|
||||
{"display": "owner"},
|
||||
{"display": "child_entered_tree"},
|
||||
|
||||
; GDScript: class_a.notest.gd
|
||||
{"display": "property_of_a"},
|
||||
{"display": "func_of_a"},
|
||||
{"display": "func_of_a()"},
|
||||
{"display": "signal_of_a"},
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue