[IPython-dev] add tab completion for arguments dynamically

G Jones glenn.caltech at gmail.com
Thu Mar 2 15:58:03 EST 2017


Hi,
Is it possible to customize the completion list when typing keyword
arguments?
For example suppose I have a function like:
def myfunc(**kwargs):
    val = kwargs['val']

is there a way to tell ipython that when it sees me type:
myfunc(va<tab>

it suggests "val="?

Thanks,
Glenn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20170302/24431e81/attachment.html>


More information about the IPython-dev mailing list