Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python IDE with autocomplete mechanism parsing docstring

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.

like image 742
bruno Avatar asked Aug 09 '26 21:08

bruno


1 Answers

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.

like image 185
Fabio Zadrozny Avatar answered Aug 11 '26 10:08

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!