Hi all,

I've found a way to get code completion on global objects such as request, 
response and db (with all your table definitions and fields!) in IDEs which 
provide code completion.
I've been using this for a while now and have to say it really does speed 
up my web2py development, so thought I'd finally tidy it up a bit and share 
it.

Here's what you'd get on all your tables:

        db..
        db.my_table..
        db.my_table.my_field..
        db.my_table.my_field.represent

<https://lh3.googleusercontent.com/-cd2i833iato/VIhBjwr30NI/AAAAAAAAAJI/zM_bW3bcc14/s1600/code-completion.jpg>











Source is here:

https://github.com/Andyhasit/web2py_intellisense

Enjoy!

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to