I have Sublime Text 2. When I begin typing <d
a dropdown suggests autocomplete for . Hitting enter will complete the tag and even add the ending tag </div>
and place the cursor between the tags. Perfect. If I hit enter again twice, I get this setup:
<div>
|</div>
But now when I go up one row to the blank row in between and hit tab, instead of indenting on the line between the tags, the cursor jumps to the end of </div>
.
What I can do is hit enter once when I have <div>|</div>
and then hit left to return to the end of <div>
and enter again to go to a new auto-indented line.
How do I get this auto-indentation behavior to work when hitting enter in the <div>|</div>
situation?