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

Sass

by SublimeText ALL Top 25

Sass and SCSS syntax for Sublime Text

Details

Installs

  • Total 1.69M
  • Win 831K
  • Mac 604K
  • Linux 251K
Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16
Windows 0 11 34 26 12 13 14 27 30 26 37 25 14 26 24 28 28 22 19 24 28 33 43 31 23 16 15 22 26 32 27 22 17 15 36 20 58 24 36 24 19 34 28 27 22 21
Mac 1 24 17 14 5 7 17 15 20 12 12 4 5 18 17 12 13 12 5 8 18 15 17 12 14 7 4 9 12 17 22 21 7 8 11 16 16 20 6 11 9 11 16 29 18 25
Linux 1 13 5 7 6 2 4 10 12 7 8 4 3 7 8 7 12 8 9 11 9 7 9 6 4 2 6 10 17 14 4 10 7 9 13 7 7 8 1 7 3 6 12 9 3 12

Readme

Source
raw.​githubusercontent.​com

Sass and SCSS

Sass 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.