any luck with that ? On Mon, Apr 16, 2012 at 12:33 PM, szimszon <szims...@gmail.com> wrote:
> Okay. The > > if 0: > from gluon import * > > request, session, response, T, cache = current.request, current. > session, current.response, current.t, current. > cache > from gluon.dal import DAL > from gluon.tools import Auth, Service, Crud > > db = DAL() > auth = Auth() > service = Service() > crud = Crud() > > code is messing with the autocomplete but if I remove it than I have lots > of error markers in the code if debugging is enabled :( > > > 2012. április 16., hétfő 0:02:03 UTC+2 időpontban cyan a következőt írta: > >> >> I've just tried it out. >> >> Unzip the latest stable source code of web2py to a folder, say, >> "web2py_src". >> Go to Eclipse - Preferences - PyDev - 'Interpreter - Python' >> In the 'System PYTHONPATH' window, add 'web2py_src' to the path. >> >> So far, it seems autocomplete is working without doing all the import >> statements... Hope it helps. >> >> On Monday, April 9, 2012 3:04:30 PM UTC-4, ikdme wrote: >>> >>> Tang, please how do i implement this your suggestion? >>> >>> On Thu, Apr 5, 2012 at 3:54 PM, Xiaofeng Tang <fengcli...@gmail.com>wrote: >>> >>>> I use PyDev and add web2py src into "PyDev - PythonPath" to resolve the >>>> incorrect refs and enable autocompletion. >>>> >>>> Alternatively, u could install the path of web2py src into systeml >>>> envirnoment vairable "pythonpath". >>>> >>>> --- on 2012/4/5 22:51:41, Rod Watkins <rwatk...@live.ca> 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 >>>> >>>> >>> -- Sebastian E. Ovide