4

我最初使用Trey Piepmeier 的说明安装了 GetBundles 。之后,我使用 GetBundles 安装了所有 TextMate 包。我注意到我的 GetBundles 副本很旧,所以我做了以下操作:

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

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

无论如何更新 GetBundles 而不会让它失去对源头的了解?

4

1 回答 1

5

是的,在 TextMate 中单击 Bundles->GetBundles->Edit Preferences File。复制数据或将文件备份到另一个位置。然后更新 GetBundles。现在,再次选择 Edit Preferences File,然后将该信息粘贴回去。这应该会更新 GetBundles 捆绑包,同时保留有关您已安装的捆绑包的自己的数据。

这是我的几个示例行:
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 中。

我希望这有帮助。

于 2010-12-15T07:22:51.343 回答