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

Compass

by whatwedo ST2/ST3

Compass Build System for Sublime Text

Details

  • 1.0.17
  • github.​com
  • github.​com
  • 8 months ago
  • 14 minutes ago
  • 5 years ago

Installs

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

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.