use Haml in Textmate
试了一下 Haml,发现在 Textmate 中使用需要设置一下,首先需要在编辑窗最下面选中Soft tab(spaces),因为 haml 和 sass 只能识别两个空格,而你不像在几次缩进之后每次换行后都要按十几个空格再开始写代码吧 |o|
第二个问题是代码高亮,需要装一个 Bundle,而且最好利用 svn 安装。跟把大象装进冰箱一样简单。
第一步,进入 /Applications/TextMate.app/Contents/SharedSupport/Bundles
第二步,执行 svn co blog
Tags: haml, rails, textmate
This entry was posted
on Friday, December 7th, 2007 at 5:10 pm and is filed under Ruby and Rails.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
December 18th, 2007 at 3:52 pm
haml is very good.