ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sass

by SublimeText ALL Trending Top 25

Sass and SCSS syntax for Sublime Text

Details

Installs

  • Total 1.69M
  • Win 832K
  • Mac 604K
  • Linux 251K
Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7
Windows 0 15 19 17 24 17 19 12 5 8 18 19 15 16 8 11 17 25 15 17 15 7 7 13 13 0 0 0 1 18 19 34 8 8 16 11 17 13 0 0 21 18 13 8 18 15
Mac 0 6 15 13 16 10 18 3 6 10 7 16 7 8 8 8 10 21 18 15 15 2 4 8 7 0 0 0 0 7 11 11 6 5 12 6 3 11 0 0 8 9 10 10 10 12
Linux 0 3 6 8 5 7 7 8 5 3 4 6 4 11 4 6 6 5 4 11 7 2 6 1 5 0 0 0 2 8 4 4 3 3 5 9 5 5 0 0 4 8 7 2 2 6

Readme

Source
raw.​githubusercontent.​com

Sass and SCSS

Sass and SCSS syntax definitions for Sublime Text based on its CSS syntax.

Highlights .sass or .scss files, and provides

  • snippets
  • completions
  • symbols

Installation

Package Control

The easiest way to install is using Package Control. It's listed as Sass.

  1. Open Command Palette using ctrl+shift+P or menu item Tools → Command Palette...
  2. Choose Package Control: Install Package
  3. Find Sass and hit Enter

Troubleshooting

SCSS extends Sublime Text's CSS syntax definition as of ST4149.

If SCSS syntax highlighting doesn't work and console displays syntax errors,

  1. check if CSS package is enabled.
  2. remove any out-dated syntax override.

Enable CSS package

  1. Open Command Palette using ctrl+shift+P or menu item Tools → Command Palette...
  2. Choose Package Control: Enable Packages
  3. Find CSS and hit Enter

Remove overrides

  1. call Menu > Preferences > Browse Packages..
  2. Look for CSS folder
  3. Remove it or at least delete any CSS.sublime-syntax in it

Notes

Development on the Sass syntax is currently frozen. It's too high maintenance since it's so different from CSS. Furthermore, the Sass language doesn't support various features that SCSS does: it's not left behind by the Sass team per se, but SCSS is the primary language right now. That being said, if you want to improve the Sass syntax, contributions are more than welcome.