Need help with scss-mode?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

antonj
200 Stars 39 Forks 38 Commits 16 Opened issues

Description

Emacs mode for SCSS files (http://sass-lang.com)

Services available

!
?

Need anything else?

Contributors list

# 607,593
Java
Emacs
Ruby
16 commits
# 104,543
Common ...
emacs-l...
minifie...
tsx
2 commits
# 727,998
2 commits
# 556,016
Shell
Emacs
CSS
C
1 commit
# 668,790
sqlite3
CSS
PHP
Shell
1 commit
# 710,397
1 commit
# 139,072
crl
CSS
ocsp
C
1 commit
# 16,824
mpi
uber
Apache ...
Keras
1 commit
# 226,667
Emacs
Rust
assembl...
Clojure
1 commit
  • SCSS Mode for Emacs Major mode for editing [[http://sass-lang.com/][SCSS]] files in Emacs.

** Features - Compilation of current file on save. (Disable by changing =scss-compile-at-save= to =nil=) - Flymake support, enable with =M-x flymake-mode= - Indentation and highlighting (Derived from CSS-mode) - Syntax highlighting for variables and inline comments.

[[http://i.imgur.com/Wdokb.png]]

[[http://i.imgur.com/9ed6X.png]]

** Installation Command line utility sass is required, [[http://sass-lang.com/]]. Make sure sass location is in emacs PATH, example:

: (setq exec-path (cons (expand-file-name "~/.gem/ruby/1.8/bin") exec-path))

Or customize =scss-sass-command= to point directly to your sass executable.

Add something like this to your emacs load file:

: (add-to-list 'load-path (expand-file-name "~/.emacs.d/folder-where-you-put-scss-mode-el")) : (autoload 'scss-mode "scss-mode") : (add-to-list 'auto-mode-alist '("\.scss\'" . scss-mode))

** Tips If you want to automatically hide the compilation buffer for every successful compilation have a look at [[https://github.com/antonj/.emacs.d/blob/master/aj-compilation.el][aj-compilation.el]]

All successful compilations in other modes are also hidden, except for rgrep "compilations" where a successful compilation is what you are interested in...

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.