I'm having trouble getting Eclipse to ignore undefined variable errors
for things imported from gluon, like A, auth, etc. There are numerous
threads on the subject, none of which I'm able to get to work,
including:
http://pierreth.blogspot.com/2010/10/web2py-eclipse-pydev-recipe.html
http://groups.google.com/group/web2py/browse_thread/thread/feb055577dfd4320

The method I like the best is to add this string to Window >
Preferences > Pydev > Code Analysis > Undefined under the "Consider
the following names as globals (comma separated)":

A,AUTH_ID,B,BEAUTIFY,BODY,BR,CENTER,CLEANUP,CODE,CRYPT,DIV,FORM,I,IFRAME,IMG,INPUT,IS_ALPHANUMERIC,IS_DATE,IS_DATETIME,IS_DATETIME_IN_RANGE,IS_DATE_IN_RANGE,IS_DECIMAL_IN_RANGE,IS_EMAIL,IS_EMPTY_OR,IS_EQUAL_TO,IS_EXPR,IS_FLOAT_IN_RANGE,IS_IMAGE,IS_INT_IN_RANGE,IS_IN_DB,IS_IN_SET,IS_IPV4,IS_LENGTH,IS_LIST_OF,IS_LOWER,IS_MATCH,IS_NOT_EMPTY,IS_NOT_IN_DB,IS_NULL_OR,IS_SLUG,IS_STRONG,IS_TIME,IS_UPLOAD_FILENAME,IS_UPPER,IS_URL,LABEL,LEGEND,LI,LINK,MARKMIN,MENU,META,OBJECT,OL,ON,OPTGROUP,OPTION,P,PRE,SCRIPT,SELECT,SPAN,TABLE,TAG,TBODY,TD,TEXTAREA,TFOOT,TH,THEAD,TITLE,TR,TT,UL,URL,XHTML,XML

But as I said, this doesn't seem to do anything at all.

Anybody know what to do?

Reply via email to