Due to the dynamic nature of python, it's hard for pydev to provide support for variables of unknown types. For example, a function parameter or a variable created indirectly only have limited auto-completion support from pydev. To better address this issue, I have a suggestion: add a special directive inside a single-line comment that has a special meaning to pydev. For example, let's assume the new directive looks like below to tell pydev that variable foobar is of type FooBar:
Of course, to python, this is a simple single-line comment that it can ignore. But to pydev, it knows the type of foobar in the codes below this comment. So if FooBar has methods foo and bar, pydev can provide auto-completion hint for these two functions.