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

Compass

by whatwedo ST2/ST3 Trending

Compass Build System for Sublime Text

Details

Installs

  • Total 49K
  • Win 25K
  • OS X 20K
  • Linux 4K
Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 2 12 15 4 3 6 10 6 11 8 2 14 7 8 12 10 11 6 6 6 9 12 13 14 2 5 7 14 6 8 10 3 7 12 15 8 7 7 1 2 9 6 8 7 8 3
OS X 5 8 9 1 6 3 7 4 10 10 3 6 9 8 6 10 6 3 5 4 5 4 6 5 1 3 8 12 4 5 5 3 6 7 14 10 5 4 3 3 2 8 6 5 3 2
Linux 0 1 1 0 1 0 0 2 0 2 2 0 0 3 2 1 0 0 2 0 1 0 0 0 0 1 2 1 0 1 2 1 0 0 0 0 1 1 0 1 0 2 1 0 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.