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
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 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5
Windows 8 13 18 17 11 13 12 12 19 16 18 13 11 11 20 11 17 13 20 11 7 14 19 14 21 15 13 6 16 18 14 31 21 9 12 21 47 23 15 12 6 12 13 23 27 17
Mac 3 22 15 8 8 4 4 10 4 10 14 7 3 7 6 11 14 14 13 2 6 3 10 12 5 5 11 4 13 10 16 19 12 5 9 6 14 15 13 11 7 12 11 15 16 9
Linux 3 4 1 3 4 5 3 5 12 9 2 6 4 3 8 5 9 4 4 3 2 2 3 7 7 5 6 4 5 3 5 17 2 5 7 3 5 11 5 11 5 3 6 5 8 5

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, please make sure to remove any out-dated syntax override.

Steps:

  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.