How can I link .scss
files to be automatically use css color scheme?
To create a user-specific customization of a color scheme, create a new file with the same filename as the color scheme, but save it in the Packages/User/ directory. For example, to customize the default Monokai color scheme, create a file named Packages/User/Monokai. sublime-color-scheme.
Once installed, go to the Command Palette in Sublime Text by hitting the Command + Shift + P or (Ctrl + Shift + P for Windows). Then search for ColorPicker. Or you can do it faster just by pressing Command + Shift + C. This will open the native color picker from your OS.
In the current version of Sublime Text 2 (Build: 2139), you can set the syntax for all files of a certain file extension using an option in the menu bar. Open a file with the extension you want to set a default for and navigate through the following menus: View -> Syntax -> Open all with current extension as...
There are two ways to do this.
The first way is to open a css file and then go to Preferences > Settings - More > Syntax Specific - User
to open a file called CSS.sublime-settings
. add the following code there:
{ "extensions": [ "scss"] }
The second way to do this is to click on the file-type button in the bottom right corner of the editor (on the status bar). At the top of the menu you'll find Open all with current extension as...
click on it and then choose css from the list (This will basically add the same code as above to your css.sublime-settings file).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With