如何在TextMate中更新GetBundles? [英] How to update GetBundles in TextMate?

查看:112
本文介绍了如何在TextMate中更新GetBundles?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最初使用

I originally installed GetBundles using Trey Piepmeier's instructions. Afterwards, I installed all TextMate bundles using GetBundles. I noticed that my copy of GetBundles was old, so I did the following:

cd ~/Library/Application Support/TextMate/Bundles/
svn co http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle/

当我重新启动TextMate并打开GetBundles时,弹出一个对话框,要求我为许多捆绑包(如果不是全部)选择来源.我不记得我安装了哪个版本的Django捆绑包或其他众多版本.

When I restarted TextMate and opened GetBundles, a dialog box popped up asking me to select the source for many—if not all—of my bundles. I can't remember which version of the Django bundle I installed or numerous others.

反正还有更新GetBundles而不失源头吗?

Is there anyway to update GetBundles without having it lose its head on the sources?

推荐答案

是的,在TextMate中,单击Bundles-> GetBundles-> Edit Preferences File.复制数据或将文件备份到另一个位置.然后更新GetBundles.现在,再次选择编辑首选项文件",然后将其粘贴回.这将更新GetBundles捆绑包,同时保留其有关已安装捆绑包的数据.

Yes, in TextMate click Bundles->GetBundles->Edit Preferences File. Either copy the data or back up the file to another location. Then update GetBundles. Now, select Edit Preferences File again, and paste that info back in. That should update the GetBundles bundle while maintaining its own data about which bundles you have installed.

这是我的一些示例行:
0B296803-7D51-11D9-859D-000D93B6E43C
https://github.com/textmate/todo.tmbundle/tarball/master
0D39D7BD-CD02-48EF-BB9C-2210BFFC5AD7
http://svn.textmate.org/trunk/Bundles/CTags.tmbundle
385A8908-0733-408E-AFA5-9576D2E3A16B
https://github.com/textmate/mail.tmbundle/tarball/master
4675A940-6227-11D9-BFB1-000D93589AF6
https://github.com/textmate/c.tmbundle/tarball/master

Here are a couple sample lines from mine:
0B296803-7D51-11D9-859D-000D93B6E43C
https://github.com/textmate/todo.tmbundle/tarball/master
0D39D7BD-CD02-48EF-BB9C-2210BFFC5AD7
http://svn.textmate.org/trunk/Bundles/CTags.tmbundle
385A8908-0733-408E-AFA5-9576D2E3A16B
https://github.com/textmate/mail.tmbundle/tarball/master
4675A940-6227-11D9-BFB1-000D93589AF6
https://github.com/textmate/c.tmbundle/tarball/master

如您所见,它跟踪存储库信息等.文件本身是com.macromates.textmate.getbundles.plist,位于〜/Library/Preferences中.

As you can see, it keeps track of the repository info, etc. The file itself is com.macromates.textmate.getbundles.plist and is located in ~/Library/Preferences.

我希望这会有所帮助.

这篇关于如何在TextMate中更新GetBundles?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆