Sublime Forum

HTML Autocomplete problem

#1

I’m found this weird issue that I’m having with autocompletion with html, I was wondering if anyone knew a solution for this. Sorry in advance, it’s difficult to explain.
I may have a slightly awkward coding style, because I couldn’t find another topic on this, but I’ll try to explain what I do.

Okay for this example I’ll make a table so I start of by typing <ta and then press enter to accept the autocomplete suggestion which is table. It then autocompletes as imagined by inserting <table>|</table> (with | representing my cursor) I then press enter twice to separate them so that there is a line in-between the two tags. I then proceed by pressing the up arrow and then the tab key twice to want to indent, but instead of getting:

<table>
       |
</table>

I get:

[code]

|[/code] (with | again representing my cursor) :question: I find this frustrating becuase I don't understand why it's doing this or what to do to fix it. I'm on the mac version Mac OS 10.8 (Mountain Lion) and Sublime text 2 Version 2.0.1, Build 2217
0 Likes