I can reproduce this on OSX using the latest build 3053 when I type the opening div
, hit Enter twice, close the div
, go back up a line, and hit Tab to position the cursor for another tag. However, there is a way around it: type the first div
element, then immediately type </
and the tag will auto-close. Move your cursor back between the opening and closing tag, and hit Enter. You'll end up with your cursor like so:
<div class="myclass">
|
</div>
and you can start typing another tag without the problematic behavior occurring - Sublime takes care of the auto-indenting for you. Besides, I like to close my tags as soon as I open them, just so I don't forget - I'm easily distracted :) However, once your cursor is indented, don't hit Backspace and then Tab again, or the same problem will happen.
No, I don't know where to report a bug for the beta, except by posting in the forum. It was down for me too the other day, but it seems to be working as I write this. I just posted the bug, so hopefully somebody can do something about it.
Happy coding!
Best Answer
.cshtml
fileView > Syntax > Open all with current extension as…
and select HTML