Yes I just happen to look through the source code sometimes too. Do you 
never do that?

There are different reasons that I do that:
- I can see the source code, and find out for example missing closing tags. 
Maybe this is the most likely use of the comments, and doesn't apply with 
the html helpers.
- To scroll through the source code, to get an overview of something. It is 
faster and more convenient to press ctrl+u, ctrl+f (find something), 
ctrl+g, than the lag of right click and inspect element...
- Maybe it makes more sense that I want to produce readable html, which is 
an example usage: https://groups.google.com/forum/#!topic/web2py/pyOosnV9AuQ

Reasons why I think it could be of use:
- It is common practice that these end closing class/id comments are 
written all over the web. Even bootstrap does it.
- Another web2py user wrote a tidy html function (as linked above to the 
readable html), so there might be others than me who care about having a 
neat and organized html output.

Anyway, if the community isn't interested in this functionality I have 
solved the issue for myself.

Thanks for your feedback.


Den lördagen den 20:e september 2014 kl. 13:33:22 UTC+2 skrev Leonel Câmara:
>
> Robin but I don't get how that helps debugging, modern browsers have 
> inspect element and automatically show you where a tag opens and closes.
>

-- 
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