Sublime Text 2 keeps opening SCSS files with CSS syntax instead of Sass. They use different syntax color highlights, so I'd like to have Sublime Text default to Sass.
0
votes
2 Answers
1
votes
Open an SCSS file in Sublime Text.
Click View->Syntax->Open all with current extension as...->CSS
These settings get stored in the language specific files under
Windows :
%userdir%\AppData\Roaming\Sublime Text 2\Packages\User\LANGUAGE.sublime-settings
Linux :
~/.config/sublime-text-2/Packages/User/LANGUAGE.sublime-settings
So in your case you'd want to have this inside CSS.sublime-settings
{
"extensions":
[
"scss"
]
}
I keep that directory in a git repo to make settings migration across machines easier.