Have you tried it? -Thadeus
On Tue, Feb 2, 2010 at 4:31 PM, DL <[email protected]> wrote: > Are you sure? I thought '__all__' was made for cases like this.. > > On Jan 21, 7:03 am, Thadeus Burgess <[email protected]> wrote: >> It is not, it will not pull in the imports of other files. >> >> You have to specifically declare all modules that are imported that >> you want available in the file that you want code completion on. >> >> -Thadeus >> >> >> >> On Wed, Jan 20, 2010 at 3:46 PM, mdipierro <[email protected]> wrote: >> > I have not tried by perhaps putting >> >> > if 0: >> > from gluon.tools import * >> > from gluon.sqlhtml import * >> > from gluon.sql import * >> > #...etc etc for every module you want to import >> >> > in web2py/w.py >> >> > and importing >> >> > from w import * >> >> > in very file is a more compact solution. >> >> > On Jan 20, 2:26 pm, Thadeus Burgess <[email protected]> wrote: >> >> To get web2py to work with code completion. This will work with >> >> eclipse + pydev, or wing IDE, or netbeans + python. >> >> >> add this to the top of your file (unfortunately it has to be on every >> >> file you want code completion). >> >> >> if 0: >> >> from gluon.tools import * >> >> from gluon.sqlhtml import * >> >> from gluon.sql import * >> >> #...etc etc for every module you want to import >> >> >> -Thadeus >> >> >> On Wed, Jan 20, 2010 at 9:04 AM, mdipierro <[email protected]> >> >> wrote: >> >> > I know Eclipse works with web2py. I do not use it but I think it has >> >> >intellisense. >> >> >> > On Jan 20, 12:24 am, Tweety <[email protected]> wrote: >> >> >> Hello, >> >> >> >> I am a newbie both with web2py, python and computer and web development >> >> >> in general. I am trying to digest Massimo's book which I bought from >> >> >> Lulu. I just want to ask anybody if they can suggest an IDE that has >> >> >>intellisensethat can make learning much more easier for me? >> >> >> >> Right now, I am just trying to memorize all the functions and it is >> >> >> really hard for me :( >> >> >> >> I am desperate to learn but am wondering if anybody can suggest an IDE >> >> >> that can work with web2py that hasintellisense? >> >> >> >> I hope someday Web2Py will haveintellisense:) >> >> >> >> Thanks 2 you all, >> >> >> >> Tweety >> >> >> > -- >> >> > You received this message because you are subscribed to the Google >> >> > Groups "web2py-users" group. >> >> > To post to this group, send email to [email protected]. >> >> > To unsubscribe from this group, send email to >> >> > [email protected]. >> >> > For more options, visit this group >> >> > athttp://groups.google.com/group/web2py?hl=en. >> >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "web2py-users" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > For more options, visit this group >> > athttp://groups.google.com/group/web2py?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

