As an aside, no editor or IDE will provide auto proper complete on your db 
object (e.g you type db. and it shows you your tables and just your tables, 
then db.my_table. and it shows you your fields) without a hack.

I made this https://github.com/andyhasit/web2py_intellisense to provide 
auto complete for IDEs which take their suggestion by understanding Python 
code, and it works perfectly in PyScripter. 

I'm not sure how Sublime picks up it's auto complete suggestions, and I 
suspect it isn't by looking into classes but rather by words in files.
If you can find out how the rules work, and borrow the code/ideas from my 
web2py_intellisense (which simply generates a fake db as an object with 
fields corresponding to the table names) then you might be able to create a 
dummy file which brings up the correct suggestions when you type "db." in 
Sublime, and get way better auto-completion support :-)

I'd be interested to see if this is possible...

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to