I have two files:
variables.scss:
$my_var: #fff;
module.scss:
@import 'variables';
.body { background: $my_var;}
And Visual Studio provides me nice hints - when I'm typing $my
in module.scss I see all variables from imported files that matches to $my
.
Simple.
But Sublime Text 3 autocompletes only variables from module.scss, not from other imported files. I have installed All Autocomplete package, it doesn't work... Any ideas? It is important feature for me...
Question was answered here: Sass support for sublime text 3
From that link:
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:
nav>ul>li
...)Now, how to make it works with scss:
The answer is here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With