12

I use Sublime text 3 and installed plugins Sass, Syntax Highlighting for Sass, CSS Completions and CSS Extended Completions, but when I work with .scss, there aren't any auto-complete options for CSS keywords.

I followed this post, where isn't mentioned auto-complete functionality and this post, where is mentioned only emmet.

Anybody knows how to add sass auto-complete to sublime text 3?

Community
  • 1
  • 1
Matt
  • 8,195
  • 31
  • 115
  • 225

1 Answers1

31

The problem that you are likely running into is that Sublime is loading your .scss file with Sass syntax. The Sass syntax is a bit different than SCSS (they did away with the curly braces and semi-colons. If you go to this link you can see the difference between the two). To get your .scss files working you will need the SCSS plugin. Install it and set the syntax to SCSS and the auto-complete should start working for you.

Joshua Kleveter
  • 1,769
  • 17
  • 23
  • it's such a shame that the `SCSS` plug-in doesn't recognise the [ampersand operator](https://github.com/MarioRicalde/SCSS.tmbundle/issues/192)... – gibatronic Aug 29 '18 at 08:26
  • I had to Remove Package SASS and SCSS. Then I reinstalled SCSS (first) and then SASS. Works fine now. Be sure to set your Syntax to be SCSS. ("open all with -> SCSS") – Vael Victus Sep 18 '18 at 14:40