Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

docstring and auto complete

Absynthe
2008-12-22
2013-03-15
  • Absynthe
    Absynthe
    2008-12-22

    I would like to know if pydev uses docstrings decorators to propose correct auto completion, E.G. :

    class Foo() :
        def __init__(self) :
            self.pwet = "pwet";

        def pwet(self, str) :
            print(str);

    class Bar() :
        """
        @type foo: Foo()
        """
        def __init__(self, foo) :
            self.foo = foo;

    foo = Foo()
    bar = Bar(foo);

                ___________
    bar.foo.| o pwet(str) |
                |__________|