Home Download Buy Blog Forum Support

HTML indentation issue

HTML indentation issue

Postby steverydz on Sat Jan 14, 2012 9:31 pm

I am finding writing HTML to be a pain in Sublime because it's indentation is inconsistent.

When coding within the <body></body> tags, it auto-indents the cursor, then if I code an opening <div> and hit enter, the cursor doesn't indent on the next line, and then if I write the closing </div> tag, it goes back one tab space, therefore not being aligned with it's opening tag.

I have read that using ZenCoding can help, but it doesn't change this behaviour, and also read that auto-closing tags should be used, which I don't agree with. That should be a user preference and if I chose to write closing tags, I shouldn't have to click around the page correcting indentation errors.

Is there any fix for this?
Posts: 1
Joined: Sat Jan 14, 2012 9:25 pm

Re: HTML indentation issue

Postby philosopherdog on Sat Jan 14, 2012 10:23 pm

Look at the post above on this issue. I fixed it by removing the html5 package.
Posts: 34
Joined: Sat Nov 26, 2011 3:08 pm

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 33 guests