Does Netbeans create a separate CSS file when saving a SASS file?

I use Netbeans 8.0 to edit my HTML, PHP and CSS. Just today I installed SASS and included it in Netbeans. I am developing Ubuntu, and Ruby and Sass are available in the repositories, so I installed them, and Netbeans discovered the SASS executable with the click of a button. So, I assume that all this works.

I created a file with a name style.scssand placed some test color variables and a dummy #testid.

I realized that when I saved the file .scssthat it will process, and a file .csswith the same name, in this case style.css, will be created. Or updated if it already exists.

Is that not so? I saw other SASS file generation issues .csshere as well in Stack Overflow, but I didn’t see one specific for Netbeans, so I’m not sure that I didn’t configure something correctly in my environment. In addition, I do not need to upload to the server when saving, I just test and develop locally.

How can I generate a file .cssfrom mine .scssin Netbeans 8.0?

+2
source share
1 answer

Right click on the project -> Properties -> CSS Preprocessors

You must set the input folder, for example / scss, and the output folder, for example / css

And there is a checkbox "Compile Sass files when saving."

For compiler options, "-style compact" may be useful.

NB7.4, 8 -... , 8.

http://plugins.netbeans.org/plugin/34929

UPDATE: scss ... NB8. @ .scss .css , - scss /css .

+4

All Articles