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

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.