How to install Sass in brackets text editor

18,147

After a lot searching on web. I found a useful article and my answer. Which I am sharing with you guys.

Brackets-SASS Plugin setup Step By Step Tutorial Without migrating on other apps.

Share:
18,147
Ahmer Ali Ahsan
Author by

Ahmer Ali Ahsan

A results-driven, customer-focused, articulate and analytical Software Developer who can think “out of the box”. I am passionate about what I do and always give 100%. When I undertake a project or task, I don't just complete it, I go the extra mile and make it better than requested. 4 years of experience as a ASP.Net Developer Intermediate NodeJS - Angular 2,4,5,8 - MEAN Stack Developer Intermediate Firebase Data Structure Designer Also worked on fiverr.

Updated on June 24, 2022

Comments

  • Ahmer Ali Ahsan
    Ahmer Ali Ahsan almost 2 years

    Duplicate Question?

    Yes it is. But a little bit different from this

    Overview:

    I am also a new user of the brackets text editor. I know the difference between Scss & Sass. But the reason why I am using brackets text editor is for just Sass not Scss.

    I saw some tutorials of Jason Sanjose for integrating Sass in brackets text editor. But I think. I am not doing it right. Below is my steps. What I am doing.

    • Install Sass for bracket using Extension Manager.
    • Install bower and bourbon
    • Create folder on root named: "SASS" and inside this folder create app.sass file.
    • Create folder on root named: "CSS"
    • Create a config file named: ".brackets.json" and put below code inside it:

      {
        "sass.enabled": false,
        "path": {
                  "SASS/app.scss": {
                  "sass.enabled": true,
                  "sass.options": {
                  "outputDir": "../CSS/",
                  "includePaths": [],
                  "sourceComments": true,
                  "outputStyle": "nested"
                }
             }
          }
      }
      

      and here is the snapshot also reference

    Question:

    When I write below code in app.sass file it is not converting it to css file or creating any css file in output directory.

    body
        background-color: black
    

    Now my question is: Please explain me how I convert sass file in css or tell me what I am doing wrong in ".brackets.json" file or in my "app.sass" file.