Sublime Forum

HTML Auto-complete problem

#1

Hi,

I’m new to sublime. I’ve been writing HTML files with sublime for some time and there is one thing that troubles me most. Every time I type in and triggers the auto-complete, the editor does something like this:

Instead of what it is supposed to be:

*Note that there is an additional and two braces ("<" and “>”)

It is really troubling me and I can’t find any solution to it. Perhaps you would like to fix it in the next update?

Oh, and I’m from China so please forgive me for my typos (if there is any) and stuff.

Thanks!

0 Likes

#2

You need to type html and press tab, not: <html and press tab - i.e. don’t type the opening < character

0 Likes

#3

Got it!

Thanks

0 Likes

#4

IMHO it would make much more sense if the auto complete tab trigger included the < but nevermind :slight_smile: I guess too manu people are used to the way it is now…

0 Likes

#5

looks like my dreams came true :slight_smile: https://github.com/sublimehq/Packages/commit/8e80d82b5807c2b1362d743c8d6489cd41dbde68

0 Likes

#8

Hi there! You have created a new html file without saving it. Try to save it and them use the shortcut html + tab. Hope it helps!

0 Likes