1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

GdScript: Add signal autocompletion to emit_signal function

This commit is contained in:
Mariano Suligoy
2017-06-20 17:13:17 -03:00
parent 7ef52b319f
commit 7fe750583e

View File

@@ -1643,7 +1643,7 @@ static void _find_type_arguments(GDCompletionContext &context, const GDParser::N
} else { } else {
//regular method //regular method
if (p_method.operator String() == "connect") { if (p_method.operator String() == "connect" || (p_method.operator String() == "emit_signal" && p_argidx == 0)) {
if (p_argidx == 0) { if (p_argidx == 0) {
List<MethodInfo> sigs; List<MethodInfo> sigs;