Hello Tim,
Since I was planning to start my new project in pylons, I was trying
to find a good IDE and tried PyDev only to run into problems you
explained. There seems to be some inherent/mysterious problems with
'pydev + pylons' setup. (
http://stackoverflow.com/questions/540538/
pydev-and-pylons-inside-virtual-environment-auto-completion-wont-work)
After some googling, got a hook on 'Spyderlib', its a really amazing
IDE.
Here are the steps to if you want to try.
On Ubuntu:-
1)
http://code.google.com/p/spyderlib/wiki/Installation
2) sudo apt-get install python-qt4
3) sudo apt-get install python-qscintilla2
4) sudo apt-get install pyflakes
5) sudo apt-get install python-rope
6) Download "spyder-2.0.0beta5.tar.gz" from
http://code.google.com/p/spyderlib/downloads/list
7) unzip/untar
8) python setup.py install
9) chmod 777 *
10) ./spyder
------------------------------------
To create Pylons project
(work around, but its kinda perfect)
------------------------------------
1) File -> 'New project' and create one
2) Go to this new directory in command line and use 'paster create -t
pylons <project name>
3) Basically you are creating a pylons project inside a spider
project.
4) Tools -> PYTHONPATH manager
5) Add all the pylons extensions egg path from your virtualenv - if
you have any - (Beaker, decorator, FormEncode, Pylons, Mako,
PasteScript, Routes, WebError etc...)
Eg:- <homedir>virtualenv/lib/python2.6/site-packages/Pylons-1.0-
py2.6.egg
------------------
Few customizations
------------------
1) Tools -> preferences -> Editor -> Code Introspection/Analysis
2) Check everything.
3) View -> Select run toolbar
Its still in beta and under very active development.
Explore and enjoy!!!
-soj