摘要: “snippet”在英语里面是“片段”的意思。当我们编码时候,通常想要打几个简略的字符串,就出来一些固定的模板,这个就类似于前端的zen coding。不过,目前,sublime text2 的zen coding 不支持了(zen coding改名字了 ,改为了emmet,所以以前安装的zen coding 插件不能用的),只能实现一些简单的类似zen coding的功能。定义很简单,先通过tools->new snippets就进入了新建文件。文件包括以下内容: My Fancy Snippet现在对以上的参数进行说明:content:... 阅读全文
posted @ 2013-05-20 13:49 xmlovecss 阅读(1498) 评论(5) 推荐(4) 编辑