Pages

Thursday, September 1, 2016

How to create your own snippet in Sublime Text 3

Tools => developer => new snippet


Delete everything between the first brackets after CDATA.

Fill in with what you want to populate on the page.

Uncomment tabtrigger line.  Change the word between the tabTrigger tags to be any word you want.  I'll refer to this as your special word.

Save file.

Give the file a name, and end the file name with  .sublime-snippet

Boom, you're done.  Open a new file.  Type your special word and press tab.  Boom!