[Eric] web2py plugin

David david at triquetradevelopment.com
Mon Oct 31 22:28:23 GMT 2011


I'm new to Eric (I'm using version 5), and relatively new to python.  
I've been searching for an IDE to develop web2py applications.

Web2py presents certain challenges to IDEs because its applications are 
not imported by the main application, as in most other python 
frameworks.  Instead, web2py executes the applications in a pre-prepared 
environment that provides objects which are simply not available in a 
non-runtime (e.g. IDE) environment.

Eclipse/Pydev solution: 
http://kollerie.wordpress.com/2009/04/07/setting-up-your-ide-for-web2py-development/
Wingware solution: http://www.wingware.com/doc/howtos/web2py
Komodo solution: 
http://community.activestate.com/forum/implicit-python-code-completion

The most promising of these seems to be the Komodo plugin since it 
requires no alteration of web2py or cruft stuck at the top of each 
web2py source file.

I would really like to use Eric to develop web2py applications, but need 
to overcome the web2py challenges for Eric to properly provide code 
completion, call tips, syntax highlighting, and debugging.

I have read the documentation on the eric5 plugin system, which would 
seem to be the way to go, but I'm still not sure how to accomplish what 
is needed for web2py development.  I have also examined the TurboGears 
Project plugin from eric4 as an example.

Has anyone created a web2py plugin?

If not, could someone point me in the right direction for creating my own?
For example, what is the syntax for the language APIs?
Is there a method for generating these language APIs, or are these 
manually edited?
I couldn't figure out from the documentation how to add a new project 
type for eric5, is there some source for this information?

Thank you in advance for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/eric/attachments/20111031/7c017af7/attachment.html>


More information about the Eric mailing list