Skip to content

Fix missing binaries for linux and windows broken in 2.0.2

Choose a tag to compare
@jasonsanjose jasonsanjose released this 10 Jul 18:27
· 5 commits to master since this release

Install, Update or Uninstall Problem?

When updating or removing this extension, you may see the following error message from Brackets:

Unable to remove one or more extensions: jasonsanjose.brackets-sass. Brackets will still reload.

If you see this error, please follow these instructions to manually uninstall the extension.

Problems during install are less likely. However, if you do have problems installing, download the zip file manually here then follow these instructions

Whats New


Bug Fixes:

  • Missing windows and linux binaries #138


By default, any .sass or .scss file (but not partials) will be compiled (with source maps) when a file is saved. So, if you have a file styles.scss, the compiler will output styles.css and in the same folder. The compiler will also recompile when partial files change (Note: this requires that the main input file was at least compiled once with source maps).


Copied from

Compiles .scss/.sass files when changed. Updates styles during Live Preview. Demo video:

Compiler Compatibility

By default, this extension uses libsass 3.2. The Ruby-based sass compiler is also supported, see sass.compiler preference. For details on compatibility with the latest Sass features and popular Sass frameworks, see the wiki.


  • Compiles *.sass (indented syntax) and *.scss (main syntax) files when changed and when any partial (@import dependency) is changed
  • Generates source maps
  • Show SASS compiler errors
  • Update CSS in Brackets' Live Preview
  • Option to swap libsass for Ruby sass compiler implementation
  • Experimental Compass support

Future Plans

  • Selector highlighting



Type: Boolean
Default: true

Enable/Disable compilation for a file.


Type: String
Default: libsass
Values: libsass, ruby

Choose which compiler to use. libsass is used by default and is bundled with the extension, no extra install is necessary. Use ruby if you need full compatilibity with 3.4 (learn more about libsass compatibility. Using the ruby options requires separate installation.


Type: Boolean
Default: false

EXPERIMENTAL Enable/Disable Compass for a file. Requires "sass.compiler": "ruby" and Compass installation. Some Compass features will require a config.rb file at your project root.

As of the 2.0.x release, Compass support is experimental. Compiler workflows in Brackets are supported, e.g.:

  • Compiling on save
  • Compiler errors
  • Compiling when a partial changes
  • Source map output

Note that Live Preview is NOT supported yet. See example project for usage.



Type: String
Default: <parent directory of input sass file>

A relative file path (relative to the input file) to output both the CSS file and the source map.


Type: String
Default: <input sass file name>.css

File name to use for the output CSS file.


Type: Array<String>
Default: []

An array of paths to use when resolving @import declarations (a.k.a --load-path, see Sass documentation)


Type: String
Default: nested
Values: nested, compressed

Determines the output format of the final CSS style. ('expanded' and 'compact' are not currently supported by [libsass], but are planned in a future version.)


Type: Boolean
Default: false

true enables additional debugging information in the output file as CSS comments


Type: Boolean | String | undefined
Default: true (implies <input sass file name>

Outputs a source map. When sourceMap === true, the values for outputDir and output are used as the target output location for the source map. When typeof sourceMap === "String", the value of sourceMap will be used as the writing location for the file.

Sample .brackets.json File

Reference: Sample project using Bourbon and .brackets.json preferences file.

Resulting file tree will appear as follows:
+ bower_components/
|--- bourbon/app/assets/stylesheets/_bourbon.scss
+ css/
|--- app.css
+ scss/
|--- app.scss

/* REMOVE comments from json file before using this template */
    /* disable compiling other files that aren't the "main" file */
    "sass.enabled": false,
    "path": {
        "scss/app.scss": {
            "sass.enabled": true,
            "sass.options": {
                "outputDir": "../css/",
                "includePaths": [],
                "sourceComments": true,
                "outputStyle": "nested"