Informal Survey: Code Indentation for Embeds?
I’ve noticed myself wrestling a bit with code indentation and specifically how it relates to content that is included from “embeds” or “partials”. I hate seeing rendered code indentation all over the place.
I’ve been going back and forth with this question in my head:
Is it better to indent content that’s included in another template so that the rendered code of the page is consistently indented? Or, is it better to start each document flush-left to ease readability?
Weigh in below in the comments. I’d love to hear that I’m not the only one who thinks about things like this.
PS: And while we’re at it, if you know how to get Sublime Text 2 to show invisibles all the time like TextMate?
Edit: Thanks to we :
add “draw_white_space”:”all” to preferences > settings > user
Comments