Sass support for sublime text 3
10,275
You can install Emmet (formerly Zen Coding), it is an extremely powerful tool to do css (and scss), example :
I type bi
and press tab
and it gives me : background-image: url(|);
(with the |
your cursor).
If you are interested, please take a look at this:
-
Emmet for sublime, and all the abbreviation (Emmet is very good with HTML too -- look what is happening when you type, for example,
nav>ul>li
...)
Now, how to make it works with scss:
The answer is here
- You have to install the package sass-textmate-bundle for scss and do what I have wrote.
- If you need sass and not scss, check this answer, especially the second response from Alexander Ekdahl
Related videos on Youtube
Author by
Alex
Updated on June 04, 2022Comments
-
Alex almost 2 years
Is there a way to make autocomplete work for scss in the same way it works for css?
For example I typebackg
and thentab
and it gives mebackground:;
but not in scss files...I have installed all packages to support scss... but there is only syntax highlighting that is working.