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.25M
  • Win 624K
  • Mac 444K
  • Linux 186K
May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3
Windows 13 16 15 16 17 8 14 18 21 15 23 16 23 13 8 13 22 11 19 18 14 17 17 20 20 22 13 10 12 19 13 18 17 11 13 12 12 19 16 18 13 11 11 20 11 17
Mac 4 12 8 12 15 11 5 3 5 8 7 3 5 8 8 11 7 8 12 10 5 8 8 5 10 13 9 5 6 7 22 15 8 8 4 4 10 4 10 14 7 3 7 6 11 14
Linux 6 8 3 7 3 6 2 4 3 11 2 7 11 7 3 9 7 6 1 7 6 5 4 2 5 7 4 2 2 4 4 1 3 4 5 3 5 12 9 2 6 4 3 8 5 9

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