I find PyDev’s search function incredibly useful and use it regularly to navigate around my projects. I’ve got my interpreters set up correctly so PyDev knows about the external libraries that my code uses, and even lets me follow references into the library modules. This is great, obviously, but I also want to be able to search the external libraries like I can search my own code.
There’s a similar question pertaining to Java development here: How do I search Libraries in eclipse?
Is there anything out there for PyDev?
I use two different approaches to allow searching in my library code:
myproject/srcand add it andmyproject/lib/python2.7/site-packages/as pydev source folders. (Be sure to setup your python interpreter tomyproject/bin/pythonas well)myproject) includes my code. The second one is calledmyproject-liband includes the libraries as it’s source paths (.../site_packages). The first project references the second projects (and usually I keep both of them in one workspace). This works great with virtualenv, but I believe that you can actually create a pydev project in your system-wide python. Make sure you use the same python interpreter in both projects.Now you can quickly and easily use Open Resource (CTRL+T) and the Globals Browser (CTRL+Shift+T) to lookup your libs.