Python IDE with autocomplete docstring parsing engine

so far I've only found PyCharm as a way to parse a docstring to determine the type of a variable and enable autocomplete 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 IDEs that have this functionality? I've tried Pydev and Spyder which don't seem to look good.

+3


source to share


3 answers


This is what was added to PyDev. There was a small fix in the latest version (3.3.3), but it should work with 2.8.0.



+2


source


I am now evaluating PyCharm and I really like it for these particular features. Moreover, it can run under linux and windows, which is another advantage. I don't know of any other Python IDE with this autocomplete mechanism.



Unfortunatelly PyCharm is not open source ..

-1


source


Indeed, there is a free solution:

Try Jedi ! He must understand annotations like epydoc.

Currently there are plugins for VIM, Emacs and Sublime. Spyder considers to switch from Rope to Jedi. But it will take some time.

-1


source







All Articles