Sublime Forum

Handlebar on sublime

#1

Sorry for this question but how do i make sublime associate .handlbars and hbs files?
I mean i want to save a file as handlebars but sublime its not asosciate with it?

0 Likes

#2

At the top of the syntax selector (bottom right on the statusbar) there should be this:

0 Likes

#3

But witch one is for handlebar i don’t see it.

0 Likes

#4

It won’t be there by default, not all languages are there. Look for a handlebars package on packagecontrol.

1 Like

#5

Thanks i figured it out for those who have same question as i had here how to do it.

Press Shift + Cmd + P (OS X) or Shift + Ctrl + P (Windows)
Type install, to bring up the Package Control: Install Package option, and press Enter
Look for Handlebars, and press Enter to install it.
Choose Handlebars in the bottom right corner with one of your template files open (or in case you have inline templates use Handlebars instead of HTML, it’s gracefully extending it so you shouldn’t lose anything)
Profit
Package Control will also auto-update the package from this point on!

1 Like