Skip to content

wbotelhos/sublime-sass-cleaner

Repository files navigation

Sublime SASS Cleaner - A SASS Cleaner

Build Status Code Climate Support Sublime SASS Cleaner

Sublime SASS Cleaner is a plugin that removes invalid characters from SASS file.

Version

@version  0.1.0
@since    2014-07-28
@author   Washington Botelho
@doc      wbotelhos.com/sublime-sass-cleaner

Dependencies

  • sass_cleaner.py

Installation

Mac OSX

cd /Users/$USER/Library/Application Support/Sublime Text 2/Packages
git clone https://github.com/wbotelhos/sublime-sass-cleaner SASSCleaner

Linux

cd ~/.config/sublime-text-2/Packages
git clone https://github.com/wbotelhos/sublime-sass-cleaner SASSCleaner

Windows

cd %APPDATA%/Sublime Text 2/Packages
git clone https://github.com/wbotelhos/sublime-sass-cleaner SASSCleaner

Usage

While editing some files with .sass extension, just save it.

Features

  1. All ; will be removed;
  2. All { and } will be removed.

Before:

body {
  height: 100%;
}

After:

body
  height: 100%

Warning

It won't remove the left empty lines from your code.

Specs

Install

sudo apt-get install python-pip
sudo pip install mock

Run

python test/sass_cleaner_test.py

Licence

The MIT License

Donate

You can do it via PayPal. Thanks! (:

About

Sublime SASS Cleaner - A SASS Cleaner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published