tags:

views:

76

answers:

1

I often create a Pydev (say, Google App Engine) Eclipse project with the wrong PYTHONPATH. It's missing "lib", say. The project is filled with red x's meaning errors. Fine. I update the project PYTHONPATH to what I know will fix the problem, and the problem remains.

Now, if I visit (i.e. double-click into the editor) any individual file, Pydev excitedly reparses, and the red x's disappear. So I could get rid of them all by visiting each file! That is terrible. Refreshing or opening and closing the project, even closing and reopening Eclipse do not seem to work. Ideas?

I'm using Galileo (build 20100218-1602 of Eclipse) and 1.5.5.2010030420 of Pydev.

A: 

One way is to go into your PYTHON Path within your project settings and hit apply, this forces a refresh.

tlow
Amazingly, this has not worked for me. Seems like it would, doesn't it? It helps get rid of red Xs, but only after I get an individual file to reload.
dfrankow
You could also try refreshing the external libs by opening preferences, selecting python interpreter, and then hitting refresh there.
tlow