简体   繁体   中英

Python programming with Eclipse+Pydev code assistant without sources

I'm using Eclipse+pydev plugin to develop python applications using a proprietary python framework. How can i set up a code assistant in this IDE without having framework sources available? Is there any open source tool so generate a documentation stub from sources files and then make it readable by pydev plugin without the need of having these sorces in my project? Do you have any ideas? Thank you,

Alessandro

Well, if you're developing against it, you should have at least the .pyc/.pyd files, so, just make sure that you add the proper folder containing those to the PYTHONPATH and add the needed entries to the forced builtins ( http://www.pydev.org/manual_101_interpreter.html has instructions).

If that's not enough (ie: PyDev can't discover the needed info by introspection from a live interpreter), you can create a file to provide "Predefined Completions" to it (again, http://www.pydev.org/manual_101_interpreter.html has instructions for that).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM