锁定老帖子 主题:不在需要TextMate
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2006-11-07
看上去不错的Edit解决方案,下面是安装说明,可以试下看看了.玩过TextMate的同学,也帮忙玩下,看下实际区别有多大. TextMate's Snippets Ported to RadRails 引用 You can now access the latest and greatest in templates/snippets for Radrails, for Ruby/Rails and RHTML (or click on the yellow boxes at the top). Installation 1. Download the two template XML files. 2. Open RadRails 3. Go to Windows > Preferences > Ruby > Editor > Templates, to see the list of included templates 4. Click on any template, and press Ctrl-A to select them all. 5. Click on Remove, to delete them all 6. Click Import…, select the file ruby-rr-templates.xml 7. Change to Rails > Editiors > RHTML Editor > RHTML Templates 8. Remove all the current templates 9. Click Import…, select the file rhtml-rr-templates.xml 10. Press Ok to close the dialog and you’re done Too difficult? The next release of RadRails will include these new templates. How to use templates/snippets? You can peruse a textmate-snippets-cheat-sheet, but really, spend 20 minutes looking through the template lists in RadRails. The name of the template is the text you type into the editor to activate the template. So, the name of assert_equals is ase. So, type ase and press CTRL-SPACE, and a list of options pops up. Press return on the selected option. Want to see all available assert_* templates? Type as and CTRL-SPACE and there they are. Nifty. 相关地址http://drnicwilliams.com/2006/11/06/post-halloween-radrails-trick-all-textmate-snippets-available/ 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2006-11-07
这个帖子没有多少的技术含量, 9月份就贴出来了 可以用Radrails Textmate 在google 上 中文搜下 http://www.railscn.com/about2081.html http://72.14.235.104/search?q=cache:0mzsd1zbBywJ:www.railscn.com/about2081.html+Radrails+textmate&hl=zh-TW&gl=hk&ct=clnk&cd=2&lr=lang_zh-CN|lang_zh-TW&client=firefox-a Caiwangqin 的blog 也有类似的介绍 让RadRails像Textmate一样 引用回复 http://schf.uc.org/articles/2006/09/18/textmate-like-template-syntax-for-radrails 下载 http://schf.uc.org/2006-09-18.RADRails-TextMate_Templates-v1.xml (点右, 保存) |
|
返回顶楼 | |
发表时间:2006-11-07
TextMate's useful 'snippets' 也就是这几天才完全移到radrails上的
9月时还差远了呢。 ps:既然没有啥技术性,各位千万别客气 |
|
返回顶楼 | |
发表时间:2006-11-07
我安装上用了一下,还行吧。
不过TextMate强并不光强在snippets这一个点上的,所以radrails和Textmate比还是有蛮大的差距。 |
|
返回顶楼 | |
发表时间:2006-11-07
http://www.iteye.com/topic/25424
66票投新手贴, 估计你也站不住 |
|
返回顶楼 | |
发表时间:2006-11-07
差的不是一点半点。
|
|
返回顶楼 | |
发表时间:2006-11-08
http://www.iteye.com/post/167472
|
|
返回顶楼 | |
发表时间:2006-11-08
9月份的没有HTML templates
已经用投票表达对技术含量判断的不得体表达 |
|
返回顶楼 | |
发表时间:2006-11-08
有for rhtml的
http://devillecompanies.org/2006/10/08/radrails-textmate-templates/ 下载连接: http://www.devillecompanies.org/wp-content/uploads/2006/10/templates1.zip |
|
返回顶楼 | |
发表时间:2006-11-09
我喜欢,虽然内容不多,但至少让我知道有这么个东西了。
|
|
返回顶楼 | |