Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyDev Package Explorer doesn't show files in Eclipse

I have been working for weeks using Eclipse's PyDev (Eclipse 3.8.1) and usually I click on files in Package Explorer to navigate through them. Now all of a sudden my Python project looks empty in the Package Explorer, just showing standard python libs.

I tried many things such as:

  • Refreshing project.
  • Importing again project to workspace.
  • Looking at custom filters in "customize view".
  • Opening project file in the editor and then using "link with editor".
  • Closing PyDev Package Explorer and opening it again.
  • Closing and opening Eclipse again (several times).

None of those showed the files. I don't know what is wrong with this project. I think it is not related, but it is also a git project.

Do you know what else is missing for me to try?

Thanks.

like image 542
cserpell Avatar asked Dec 25 '22 11:12

cserpell


1 Answers

Found the solution in PyDev FAQ

The usual checks are:

  1. In the PyDev Package Explorer menu, is the top level elements pointing to working sets, if yes, change it to "Project".

  2. In the PyDev Package Explorer menu, customize view, the content has both, PyDev Navigator Content and Resources checked?

  3. In the PyDev Package Explorer menu, customize view, is it possible that the filters selected are hiding all your elements?

The first item solved my problem.

like image 90
Jay Avatar answered Jan 04 '23 22:01

Jay