On Thursday, April 28, 2011 10:47:01 AM UTC-4, pierreth wrote: > > On 28 avr, 02:20, Anthony <[email protected]> wrote: > > Is there any other trick to get this working? I added web2py/gluon to the > > > "system PYTHONPATH" in pydev as described above, but I don't get any > web2py > > autocomplete. Note, I'm on Windows 7. > > > > Anthony > > Hello, > > I think this is incorrect. You need web2py not gluon (I mean the > parent folder). > > Here I don't use the general preferences of Pydev to add this folder, > I prefer to add web2py and web2py/site-packages as an external > libraries for each individual project. If you use > create_eclipse_project, http://code.google.com/p/neo-web2py2eclipse/, > the script adds these folders automatically.
This still doesn't give me any autocomplete. I only get autocomplete using imports. At first, I thought I was getting some autocompletes working in my db.py file, but then I realized I was getting those courtesy of the 'from gluon.tools import *' line that's in the standard db.py file (gluon.tools itself includes a lot of web2py imports, so importing it results in a lot of autocompletes). Anthony

