2011/6/26 sebastian <sebastianov...@gmail.com>

> what about the functions defined in the models ? (global functions)
>


Pydev won't see them because they are imported implicitly by web2py. You can
use the if 0: trick so the static code analyzer will not complain:

if 0:
  from applications.myapp.models import myfunc

In the preferences of Pydev you can make "if" fold-able to be able to fold
the noisy code: Window > Preferences > Pydev > Editor > Folding

There is not much you can do because this is not a standard way to do things
in Python. Breaking from the standard has his part of ugly.
-- 


A+

-------------
Pierre
My blog and profile
(http://pierrethibault.posterous.com)<http://pierrethibault.posterous.com>
YouTube page 
(http://www.youtube.com/user/tubetib)<http://www.youtube.com/user/tubetib>
Twitter (http://twitter.com/pierreth2) <http://twitter.com/pierreth2>

Reply via email to