Sublime Forum

Div.test >>> into >>> <div class="test"></div>?

#1

Hi guys,

I was using ST 1.4 for some time and there I had feature where I would write div.test+(tab) and that will create div with class test automatically. I don’t remember was this some plugin or something else but my question is can I have this option enabled in ST2?

Thanks

0 Likes

#2

instead of tab try ctrl+space after div.myclass

0 Likes

#3

Great, that works! Thanks

0 Likes

#4

Or you can turn tab_completion on in the User File Preferences.

// When false, tab will only trigger snippets or insert a tab character. Set // it to true to make it insert the best matching completion from any source. "tab_completion": true

0 Likes

#5

That worked too :smile: I was just not aware of the syntax before. Thanks

0 Likes