This is what I'm doing with eclipse and pydev 2.7.5
this code snippet at the top of files:
if False: #this block helps eclipse
import gluon
from gluon import *
from db import * #repeat for all models
from menu import *
and added the web2py directory to PyDev System PYTHONPATH.
this seems to work well.
On Wednesday, 4 April 2012 12:54:06 UTC+10, Rod Watkins wrote:
>
> I know this has been asked before. I don't mean to be an annoyance. I've
> done the searches are read numerous posts about how to handle this. But the
> advice conflicts and I've yet to actually fix the problem.
>
> What is the best way to handle imports for eclipse to get autocomplete to
> work properly (as well as rid eclipse of all the incorrect error messages?
>
> I rather like having autocomplete functioning since, as a beginner, it
> helps me discover functionality that I might otherwise miss (besides saving
> some typing).
>
> Please accept my thanks in advance for any help on this.
>
> Cordially,
> Rod Watkins
>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.