介绍一个textmate bundle

keypad ‘enter’: Intelligent Go To File

只能文件导航,这个键不知道在键盘上怎么按出来..好晕.

cmd+opt+alt+p(选定内容) 为选定内容创建局部模板

This shortcut takes a selection, asks for a name and creates a partial. Not only that, but it creates the <%= render :partial => “whatever”%> method call to the partial that is created.

command-option-p (without selection): Inline Partial Edit Mode

This shortcut is flat out amazing. Simply hit command-option-p and all your partial calls are replaced with the actual code from the partial. Make your changes, hit command-option-p again, and the render partial method call is put back in its place and the partial is saved with the changes. I dinked around with it abit and definitely got the geek snorts.

command-option-g: Rails Generator

No need to even open up the terminal with this shortcut. It gives you stupid easy access to the Rails script/generate while remaining in Textmate.

ctrl-option-command-\: Install a Bundled Plugin

This automatically installs a plugin to your current project. Currently there are only two plugins bundled with it, but I can imagine it would be easy to add your own. I really like this feature.

Snippets

Not only does the bundle come with all the above cool shortcuts, but it also has several snippets which are helpful for migration. You can read all about these in the features once you download the bundle but I wanted to at least mention it.

Plugins

The bundle also comes with two plugins. One, textmate_footnotes: Clickable Web Pages and Backtrace, does two really cool things. First, it makes the line number and file name error messages clickable. Upon clicking, it opens up the file in Textmate. If you have done much debugging, this is really handy. The second feature is also pretty cool. It adds links to the bottom of the page when in development mode. These links open up the exact controller or view that rendered the page. Nice.

Final Thoughts

Have you downloaded it yet? I’m serious, this thing is awesome. Duane has been posting updates to it like crazy so I look forward to some really cool features in the coming weeks.
这个bundle的下载地址:
[url]http://blog.inquirylabs.com/2006/02/21/syncpeople-on-rails-09-wow-what-a-weekend/[/url]
可以从这个bundle出发安装一个textmate footnotes :
ctrl+cmd+alt+\
安装textmate footnotes
可以在调试出错的track trace列出的文件链接到textmate中打开,另外在页面调试中,在下方会添加一个TextMate Footnotes: Controller | View

这样很容易实现页面调试与代码之间的导航

本文转自 fsjoy1983 51CTO博客,原文链接:http://blog.51cto.com/fsjoy/113454,如需转载请自行联系原作者

TextMate Footnotes相关推荐

  1. 为TextMate扩展全屏功能

    今天看代码,感觉TextMate那个窗口太小了点,越看越不爽,就想把它弄成全屏的.于是搜索啊搜索啊搜索,终于让我找到一款很yd的小软件,叫megazoomer, 下载地址是: [url]http:// ...

  2. 配置学习Go的编辑器:配置TextMate

    TextMate是苹果电脑上的著名的文本编辑器,有非常好用的一些插件,fei'chang我选用了TextMate. 1.Textmate官网:http://macromates.com/ Textma ...

  3. textmate开发一个blog

    TextMate开发一个简单的Blog吧. 1.首先安装git,下载源码编译或者到这里下载package:[url]http://metastatic.org/text/Concern/2007/09 ...

  4. TextMate 通用快捷键

    原来一直在Windows上使用notepad++文本编辑器,现在换了MAC,发现notepad++ 官方没有MAC版本的,在MAC上使用也有办法,只不过实在是太麻烦了. 通过查看网友的建议,发现了Te ...

  5. textmate bundle for jquery

    使用这个bundle的例子: 键入ready然后按tab就会生成下面的代码: $(document).ready(function() { }); 其中第二行被选中,这时在里面编写jquery代码即可 ...

  6. 尤其适合程序员使用的TextMate for Mac

    textmate版是Mac上一款非常好用的文本编辑器,与BBedit一起并称苹果机上的emacs和vim.尤其适合程序员使用,可以定制许多贴心使用的功能.textmate的Bundles是TextMa ...

  7. Atom飞行手册翻译: 3.9 从Textmate中转换

    从Textmate中转换 可能在Textmate中有你喜欢或者使用过的主题和语法,并且你想要把它们转换到Atom中.如果是这样的话,你很幸运,因为有很多工具可以用来转换它们. 转换 TextMate ...

  8. 虚拟机linux gedit,Linux系统中把gedit改造成TextMate的方法

    TextMate是一款轻量级的文本编辑器软件,它具有出色的界面和强大的功能,能够提升开发者的编码效率.这款软件也开放源代码了,但是只能在Mac OS X上使用,因此小编下面给大家介绍一个方法,能够把g ...

  9. Mac OS X TextMate 运行 OCaml代码提示出错

    为什么80%的码农都做不了架构师?>>>    Mac OS X TextMate 运行 OCaml代码提示出错 Uncaught exception: Invalid_argume ...

最新文章

  1. 1.4 w字,25 张图让你彻底掌握分布式事务原理
  2. Codeforces Beta Round #6 (Div. 2)【未完结】
  3. [我的1024开源程序]60元写的宠物网页和音乐网页
  4. java自动转换_java类型转换详解(自动转换和强制转换)
  5. android 清理缓存 简书,分享:Android清除本地数据缓存代码
  6. 【英语学习】【English L06】U08 News L4 A piece of great news
  7. 在存储过程中构建动态SQL
  8. Python使用集合实现素数筛选法
  9. c++中获取蓝图组件_Vue组件通信方式居然有这么多?你了解几种
  10. php 获取某周的最后一天,PHP获取本周首先天和最后一天
  11. DNF私服单机搭建教程
  12. 怎么才能获得一个mid文件的音调
  13. 阿里巴巴 Java开发手册 最新官网下载
  14. JAVA冰箱评测开题报告,关于电冰箱相关论文范例,与电冰箱制冷系统的维修技术相关研究生毕业论文开题报告...
  15. 解锁pdf文件,删除pdf密码
  16. 6 种 Python 数据可视化工具
  17. 浅谈ARM Cortex-M0
  18. 错别字检测、在线文本纠错-爱校对
  19. 华硕开机时出现无法验证数字签名驱动
  20. 【计算机科学基础】图灵机

热门文章

  1. 冲压模具材料的选用及热处理要求
  2. 世纪前线网络质量测试工具 是什么_内推 | 大厂需要什么样的人才?看看这些JD就知道啦...
  3. linux 防火墙设置
  4. java中qq好友怎么加,手机qq怎么加好友?
  5. 新人学习笔记-分布式基础学习-分布式文件系统
  6. POJ2987-Firing
  7. c语言乘法顺序,c语言运算符分类及运算顺序和级别总结
  8. javaj基础之泛型
  9. VSCode不能跳转到定义的解决方法
  10. kubeadm部署高可用k8s