ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Compass

by whatwedo ST2/ST3

Compass Build System for Sublime Text

Details

Installs

  • Total 49K
  • Win 25K
  • OS X 20K
  • Linux 4K
Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12
Windows 12 11 6 7 7 10 9 10 8 5 4 12 14 15 11 8 5 5 7 20 7 12 13 6 4 12 19 11 5 11 2 2 7 7 11 11 7 4 2 6 9 5 3 10 2 4
OS X 6 1 1 3 4 6 5 2 6 1 4 7 5 6 7 2 2 4 3 9 7 8 3 5 4 5 8 5 1 3 5 0 2 10 6 4 7 3 1 5 0 3 2 6 1 1
Linux 1 0 1 0 0 1 0 0 3 1 0 2 3 1 0 2 1 1 0 0 4 1 0 1 0 0 1 0 0 3 0 0 2 0 2 2 1 0 2 0 1 1 1 1 0 1

Readme

Source
raw.​githubusercontent.​com

Compass Build System for Sublime Text

Works with Sublime Text 2 and Sublime Text 3.

Adds a Build System for Compass Watch when opening SASS Files. (Sublime-Text-2-SASS-Package or similar SASS Package needed).

Create a project and place the Sublime Text Project file in your project's folder root. Example: yourproject/project.sublime-project

A Sublime Text Project File in the root of your project is necessary.

PREREQUISITES

Ruby and the Compass Gem have to be installed. Important: This package is not going to add syntax highlighting for SCSS/SASS.

INSTALLATION

With Package Control plugin

I recommend this method If you want the Compass Build System always up-to-date.

  1. Install the Package Control Plugin for Sublime Text 2 or 3. Follow the instructions and restart Sublime Text.
  2. Use Preferences > Package Control or Command+Shift+P (OS X) / Control+Shift+P (Linux/Windows) and select “Package Control: Install Package”. Wait while repositories are loading.
  3. When the command form appears type “Compass” and you'll find the Compass Build System. Select to install.

Package Control

Build

Open one of your .sass files and press CTRL + B (or Tools > Build). If you have more than one Build System that is able to compile SASS, change the Build System to Compass under Tools > Build.

Troubleshoot

How to configure Compass build with rbenv in Sublime Text 2?

See topic on Stackoverflow

Sprite mixins from Compass don't work. What can I do?

You'll have to edit the sprite importer from Compass. Take a look at the issue and the original fix in the Compass repository.

Error folder was unexpected at this time

This is a Windows only issue and means, you have special chars in your project path. To get it working, remove special chars in your folder names. There mustn't be any single special char in the whole path down to the project. See support thread, #59.