Indent html lines automatically when you press enter

Eugene Pimenov 9 year бұрын 0
When you have the following structure:
where | is the cursor positon, and you press enter you get:


(ignore the newline, your issue tracker is weird).

E.g. if you do that in ruby (or C++):
hello {|}
and press enter you get the following structure:
hello {

(ignore the newline here as well)
Which is the correct one. If you do the same to HTML in the TextMate you'll get the correct behavior.