Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can pydev refactor a function call so that named arguments are used?

For example:

def f(foo, bar):
 return foo + bar

answer = f(3,4)

What I'm looking for is some way to highlight the function call in pydev and have it automatically refactored so that it reads:

answer = f(foo=3, bar=4)
like image 846
oob Avatar asked Nov 19 '25 05:11

oob


1 Answers

That's not currently possible. Please enter that as a feature request in the PyDev sf tracker. See: http://pydev.org/about.html for links.

like image 192
Fabio Zadrozny Avatar answered Nov 21 '25 19:11

Fabio Zadrozny



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!