4 comments:

Hey Fabio! I have problems doing PyDev searches in latest LiClipse. It's not finding anything although 1 occurence is just currently selected. The Search dialog says: "Note: only modules in the PyDev index will be searched (valid modules below a source folder)."But what is the PyDev index, how can I verify that it's a source folder?I already marked the project as PyDev project.

Darn I just wanted to move from Eclipse+PyDev to LiClipse to have a more lightweight IDE.

A source folder is the folder added to the PYTHONPATH -- see: http://www.pydev.org/manual_101_project_conf2.html

Note that the old search was mostly the regular file search filtering with *.py, so, if you're unsure of something you may just use that one as you did use the PyDev file search previously (the new search indexes based on how the PyDev is seeing things based on its internal indexes -- which are used for code completion for instance -- if you do have a case where the project is properly configured and it's not finding something though, please create a bug report with the steps to reproduce the issue as this is something that should be fixed).

Ah cool! Yea thanks! I saw it helped when I explicitly added the project to PYTHONPATH.

Could be nice to see problems like that a little more obvious. Maybe have an overview over the actually indexed projects, packages and modules. So you see Oh my module isn't even in there! So why is that...

Actually, you'll note that folders under the PYTHONPATH have a different icon (i.e.: a package icon), so, you should spot that directly (i.e.: if it has a regular folder icon and not a package icon, something is not properly configured, such as theres an __init__.py missing or the folder is not under a source folder).