I starting to use PyDev now that the extensions are now free. I
remembered some of you had problems with the autocomplete because of
the Web2Py globals. Here is a solution.

When you add a Python Interpreter, go into forced globals. Click new.
Copy and paste the following:

request,response,session,cache,redirect,HTTP,TR,XML,URL,BEAUTIFY,A,BODY,BR,B,CENTER,CODE,DIV,EM,EMBED,FIELDSET,LEGEND,FORM,H1,H2,H3,H4,H5,H6,IFRAME,HEAD,HR,HTML,IMG,INPUT,LABEL,LI,LINK,MENU,META,OBJECT,OL,ON,OPTION,P,PRE,SCRIPT,SELECT,SPAN,STYLE,TABLE,THEAD,TBODY,TFOOT,TAG,TD,TEXTAREA,TH,TITLE,TT,T,UL,IS_STRONG,IS_LOWER,IS_UPPER,IS_ALPHANUMERIC,IS_DATETIME,IS_DATE,IS_EMAIL,IS_EXPR,IS_FLOAT_IN_RANGE,IS_IMAGE,IS_INT_IN_RANGE,IS_IN_SET,IS_IPV4,IS_LIST_OF,IS_LENGTH,IS_MATCH,IS_NULL_OR,IS_NOT_EMPTY,IS_TIME,IS_UPLOAD_FILENAME,IS_URL,CLEANUP,CRYPT,IS_IN_DB,IS_NOT_IN_DB,SQLDB,SQLField,SQLFORM,SQLTABLE

http://imgur.com/SnRwh.png

I think this is one good solution.

Another possibility is to create a file that imports all of those
globals, and then at the top of your web2py files, you would import
that file.This solution would let you see docstrings and other details
but may be more inconvenient. I'll let one of you implement that.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to