Panda3D, Eclipse and PyDev

Hello,

currently i am trying to get panda3d running in pydev.
As mentioned in other threads here in the forum, i added
the panda python as new interpreter and so on…
The imports etc. work fine, the script executes and start the
window containing the environment model:

import direct.directbase.DirectStart

#Load the first environment model
environ = loader.loadModel("models/environment")
environ.reparentTo(render)
environ.setScale(0.25,0.25,0.25)
environ.setPos(-8,42,0)

#Run the tutorial
run()

(just copied from the manual)

The problem: PyDev does not recognize the “loader” and the “run()”.
The are marked red, and there is no content assist etc.

I am pretty new to python and panda, so how can this be fixed (if it can be fixed and there is a content assist…)

Thanks
Dathto

don’t know about pydev, but if it’s not really working for you, why not try pype or geany? You’ll like them both, but they’re different so you might be better friends with one of them and there’s choice…

I doubt it. Only a Panda-specific editor might (like ynjh_jo’s dynamic IDE which does support this).

you don’t really need content assist in python.