Merge pull request #9329 from MarianoGnu/master
GdScript: Add signal autocompletion to emit_signal function
This commit is contained in:
commit
7705b2639f
|
@ -1643,7 +1643,7 @@ static void _find_type_arguments(GDCompletionContext &context, const GDParser::N
|
|||
} else {
|
||||
//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) {
|
||||
List<MethodInfo> sigs;
|
||||
|
|
Loading…
Reference in New Issue