so far, I only found PyCharm as being able to parse docstring in order to determine a variable's type and enable autocompletion for that variable, e.g.:
def func(arg):
"""
epydoc style docstring
@type arg: str
@rtype: str
"""
arg.#<-autocomplete enabled, because we know it is a string#
...
func('test').#<-autocomplete enabled here too#
Are there other (preferably free) Python IDE that have this functionality? I tried Pydev and Spyder, which do not seem to.
This is something that was added on PyDev. The latest release (3.3.3) had a small fix for it, but it should be working since 2.8.0.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With