How to set scss syntax in Sublime 3?

45,762

press CTRL + Shift + P in Submile Text below popup opens

enter image description here

Click on the Package Control: Install Package.which will open the below popup. Type SCSS in the search box. Look for exactly: SCSS (it may not be the first thing that comes up) and click on it.

enter image description here

again press CTRL + Shift + P and search for SCSS and click on the Set Syntax: SCSS. that it your scss files will be colored accordingly

enter image description here

Share:
45,762
user31782
Author by

user31782

http://crimewiki.in/ https://stackoverflow.com/questions/59729820/are-functions-defined-in-a-class-are-by-default-static-if-yes-then-why#59729820 How to permanently typecast class properties in PHP? https://stackoverflow.com/questions/59804066/what-are-the-limitations-of-inheriting-from-abstract-class-that-are-remedied-by https://stackoverflow.com/questions/59954412/in-javascript-can-we-return-non-objects-by-reference https://stackoverflow.com/questions/59668056/what-are-parent-and-child-methods-in-php-and-how-can-we-override-that-parent-met https://stackoverflow.com/questions/59804066/what-are-the-particular-features-of-inheriting-from-abstract-class-that-are-not https://stackoverflow.com/questions/59729820/why-are-non-static-functions-assessible-without-object-initialization-in-php7

Updated on July 05, 2022

Comments

  • user31782
    user31782 almost 2 years

    I'm using Sublime 3 editor. When I open a SCSS file it shows many red characters because it misjudged the syntax. When I press CTRL + Shift + P and type sass or scss I get no option. I had to set syntax to CSS.

    Is there any way to set syntax to SCSS in Sublime 3?

  • pmiguelpinto
    pmiguelpinto almost 6 years
    A note: Package Control may noy be installed by default
  • elliottregan
    elliottregan almost 6 years
    @user31782 Do you mind accepting this answer so that others can find the solution more easily?
  • codenoob
    codenoob over 5 years
    I don't know why but after installing the linter, I cant set the syntax. It's not offered as an option.
  • Prashant Sharma
    Prashant Sharma about 5 years
    Saved my day.!!
  • user31782
    user31782 almost 5 years
    @elliottregan I think by the time this answer was posted, I stopped participating on stack exchange network. I don't do programming anymore so it is not possible for me to accept it. Sorry mate.