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
  • 10 months ago
  • 57 minutes ago
  • 5 years ago

Installs

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