Sublime SASS Cleaner is a plugin that removes invalid characters from SASS file.
@version 0.1.0
@since 2014-07-28
@author Washington Botelho
@doc wbotelhos.com/sublime-sass-cleaner
- sass_cleaner.py
cd /Users/$USER/Library/Application Support/Sublime Text 2/Packages
git clone https://github.com/wbotelhos/sublime-sass-cleaner SASSCleaner
cd ~/.config/sublime-text-2/Packages
git clone https://github.com/wbotelhos/sublime-sass-cleaner SASSCleaner
cd %APPDATA%/Sublime Text 2/Packages
git clone https://github.com/wbotelhos/sublime-sass-cleaner SASSCleaner
While editing some files with .sass
extension, just save it.
- All
;
will be removed; - All
{
and}
will be removed.
Before:
body {
height: 100%;
}
After:
body
height: 100%
It won't remove the left empty lines from your code.
sudo apt-get install python-pip
sudo pip install mock
python test/sass_cleaner_test.py
The MIT License
You can do it via PayPal. Thanks! (: