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 833K
  • Mac 605K
  • Linux 251K
Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8
Windows 0 16 20 27 17 26 8 10 24 17 16 19 16 12 18 15 18 21 22 11 11 9 19 24 14 18 11 8 9 18 13 23 36 22 15 10 13 6 15 20 22 9 10 15 16 16
Mac 1 8 12 8 9 10 6 8 11 12 7 14 9 9 8 17 13 9 5 13 10 13 11 15 9 13 12 8 0 15 13 15 11 12 6 8 11 12 11 17 13 7 5 10 14 11
Linux 0 7 6 4 9 6 5 11 7 7 4 5 11 5 4 5 8 7 5 5 6 5 5 5 2 4 9 4 6 5 3 6 5 6 4 5 3 8 10 4 9 3 6 12 4 8

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.