I was working with a few
.scss files in Sublime Text 2 today and noticed that it didn’t support Sass syntax out of the box. There’s actually a really awesome Sublime package for installing other packages called Package Control. Here’s how you can get that up and running.
Install Package Control
- Make sure Sublime Text is closed.
- Download Package Control and save it in
~/Library/Application Support/Sublime Text 2/Installed Packages.
- Next time you launch Sublime Text, that package is going to be there.
Install the Sass/Scss Packages
- Open Sublime Text.
- Go to Preferences > Package Control.
- Type in “Install Packages” and hit ENTER.
- Search for “scss” and hit ENTER to install the first package.
- After that’s done, you can also get the “sass” package if you need it.
- Restart Sublime and you’re set.
If you have any questions, let me know in the comments.
Featured image by Maik Jonietz.