You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
GdScript: Add signal autocompletion to emit_signal function
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user