This bundle contains the grammar files for highlighting the NEW SYNTAX; the old syntax is not supported by this bundle. Sorry.
It also includes Zen CSS ( from the Zen Coding Project ); which will help you speed up your coding.
mkdir -p ~/Library/Application\ Support/TextMate/Bundles cd ~/Library/Application\ Support/TextMate/Bundles git clone git://github.com/kuroir/SCSS.tmbundle.git "SCSS.tmbundle" osascript -e 'tell app "TextMate" to reload bundles'
If you are using pre-release textmate2, the bundle should be installed in:
mkdir -p ~/Library/Application\ Support/Avian/Bundles cd ~/Library/Application\ Support/Avian/Bundles git clone git://github.com/kuroir/SCSS.tmbundle.git "SCSS.tmbundle"
New Feature: XHTML to SCSS Converter
You can see the new feature in action in this screencast. Sorry for my engrish.. I need to practice more heh.
Notes about this feature:
Yo shouldn't use this feature to convert the whole XHTML to SCSS. It is meant to selectively copy and paste your XHTML to SCSS Document. In the Screencast I did a complete layout parse for the sake of demonstration. However this is a bad practice since it generates unnecessary nesting and of course bloat.
New Feature: XHTML to SCSS Converter now uses style declarations!
See it in action! Screencast.
The minimum requirements for this command to work:
- Ruby 1.8.7 or higher (it comes by default with Snow Leopard)
- Mac OS X (No support for Windows yet. I didn't implement the clipboard method for it.)
gem install nokogiri
Credits and More:
Rewrote the SCSS Grammar file and made the first release of the bundle.
Is the mantainer of the SublimeText2 Branch and contributed with the E-TextEditor compatibility on early stages.
Developed the first SCSS TextMate Bundle. Mario based his grammar of his and got a lot of feedback from him (he's SASS Core Dev)
This bundle has the Zen Coding Bundled within because of the scope.
Contributed with the first SublimeText2 hotfix to the original SCSS.tmbundle.
SCSS.tmbundle Copyright (c) 2011 Mario "Kuroir" Ricalde
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. No attribution is required by products that make use of this software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name(s) of the above copyright holders shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization.
Contributors to this project agree to grant all rights to the copyright holder of the primary product. Attribution is maintained in the source control history of the product.