jaumefontal / SASS-Build-SublimeText2

SASS build sytem for Sublime Text 2
135 stars 34 forks source link

Location of config files #34

Closed Luckyfella73 closed 8 years ago

Luckyfella73 commented 8 years ago

Hi,

I installed Sass Build for sublime text 3 a while ago and remember to edit the path to ruby. The build process works but due to encoding problems I want to edit the file adding a charset directive: sass --update .... -E "UTF-8"

But I can't locate the files anymore:

SASS - Compressed.sublime-build SASS.sublime-build

It's really strange - when I copy them manually into my User folder I get the menu items Tools/Build System/[SASS Compressed/SASS] twice.

Any idea where I can find the files or settings?

I'm on Mac osx, Sublime Text 3

Luckyfella73 commented 8 years ago

I managed to "build" the files following this thread (PackageResourceViewer plugin): http://superuser.com/questions/696540/sublime-text-3-cant-find-installed-packages

Seems like I edited the config files when I was using Sublime Text 2 ...

In case anyone else has the same decoding errors I had you could give it a try this way:

// SASS-sublime-build :
{

    //"cmd": ["sass", "--update", "$file:${file_path}/${file_base_name}.css", "--stop-on-error", "--no-cache"], // original
    "cmd": ["sass", "--update", "$file:${file_path}/${file_base_name}.css", "--stop-on-error", "--no-cache", "--default-encoding=UTF-8"],
    "selector": "source.sass, source.scss",
    "line_regex": "Line ([0-9]+):",

    "osx":
    {
        "path": "/usr/local/bin:$PATH"
    },

    "windows":
    {
        "shell": "true"
    }

}

In my case it did the job.