Hi Ivo,

I'm using the exact same configuration with eclipse, pydev and
subclipse under ubuntu and so far it's the best solution for me. To
check out a project with subclipse, change to the perspective "SVN
Repository Exploring Perspective" and "Add SVN Repository" to see for
example the TG project.

I've also auto-completition working with pydev: Right click on the
project in your Navigator and go to properties, there in Pydev -
Pythonpath you have to add your own project to Project Source folders
and the turbogears svn project (if you have checked it out before) to
External Source Folders.

In the eclipse preferences -> pydev -> Interpreter Python I have also
added TG to the System Pythonpath and also added turbogears to the
forced libs (not sure if this is necessary but at the moment I have
it).

Now when you write import turbogears. and press CTRL + SPACE you see a
long list starting with __init__, command, ....

Also, when you write import model in your controller, you see all your
classes and so on.

Pydev isn't as good as ipython's auto-completition (e. g.
model.MyClass. gives you only your class methods but not the ones from
TG like select() ) but still it's very nice.

Regards,

Fabian

Reply via email to