摘要:
其实sublime自身就有格式化命令,就不再安装插件,位置在[Edit]->[Line]->[Reindent]但这个默认的命令没有快捷键,就重新定义了一下,想用习惯了的eclipse快捷键:Ctrl+Shift+F但是和“在文件中查找”冲突了。改用Alt+Shift+F吧,和netbeans保持一致。[Preferences]->[Key Bindings]->[User]中,添加如下:{ "keys": ["alt+shift+f"], "command": "reindent" } 阅读全文
posted @ 2013-11-07 15:59
小狸的窝
阅读(260)
评论(0)
推荐(0)
摘要:
Strips all HTML tags from thehtml, including comments. This uses the html-scanner tokenizer and so its HTML parsing ability is limited by that of html-scanner.Ruby代码 strip_tags("Stripthesetags!")#=>Stripthesetags!strip_tags("Boldnomore!Seemorehere...")#=>Boldnomore!Seemoreh 阅读全文
posted @ 2013-11-07 11:41
小狸的窝
阅读(233)
评论(0)
推荐(0)

浙公网安备 33010602011771号