如何在大型 Rails 项目上加速 TextMate?

发布于 2024-08-09 16:40:13 字数 62 浏览 2 评论 0原文

当打开大型项目时,有什么方法可以提高 TextMate 的性能吗?使其成为活动应用程序每次大约需要 10 秒。

Is there any way to improve the performance of TextMate when a large project is open? Making it the active app is taking about 10 second each and every time.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

失去的东西太少 2024-08-16 16:40:13

为了加快打开项目(以及在其中搜索)的速度,您可以考虑仅将您实际工作的文件包含到项目中。所有最终可能位于源代码树中(或符号链接到源代码树中)的外部库(您不打算修改)都可以通过将其文件夹名称放入项目中来排除。 “文件夹信息”表单中的“文件夹模式”正则表达式,可以通过在 TextMate 中选择顶部文件夹并按 Cmd+I 打开。

请注意,完成此操作后,您应该执行 File ->保存项目,然后仅通过实际打开 .tmproject 文件在 TextMate 中打开项目:

打开myproject.tmproject

通过在 TextMate 中打开整个文件夹来

,如下所示:

伙计。

PS:使用符号链接将外部库链接到源代码树本身就是一种方便的技术,因为这些可能是单独的 TextMate 项目。

To speedup opening the project (and also searching in it), you may consider to only include into the project the files you're actually working at. All the external libraries that may eventually be in the source tree (or sym-linked into that), which you don't plan to modify, may be excluded from the project by putting their folder names into the "Folder Pattern" regular expression in the "Folder Information" form, which can be opened by selecting the top-folder in the TextMate and pressing Cmd+I.

Note, that after doing that, you should do File -> Save Project, and then only open your project in TextMate by actually opening the .tmproject-file:

open myproject.tmproject

not by opening the whole folder in TextMate like this:

mate .

P.S.: Using sym-links for linking external libraries into your source tree is by itself a handy technique, as those may be separate TextMate projects to work on.

还如梦归 2024-08-16 16:40:13

每次切换到 TextMate 时,它​​都会统计项目中的所有文件。您可以使用 ReMate 插件抑制此行为(有选择地针对每个项目或每个域)。

ReMate

Every time you switch to TextMate, it stats all of the files in your project. You can inhibit this behavior (selectively on a per-project or per-domain basis) with the ReMate plugin.

ReMate

与君绝 2024-08-16 16:40:13

你的硬件规格是什么?对我来说听起来像是内存问题。

您是否考虑过使用不同的应用程序?我已经使用 RubyMine 一段时间了,不得不说我真的很喜欢它。

我的应用程序相当大(60 个左右的对象,20 个插件等),并且在笔记本电脑规格“OK”的情况下,它运行得很好。加上它提供的所有其他功能,79 美元的许可证非常值得。

What are you hardware specs? Sounds like a RAM issue to me.

Have you considered using a different application? I have been using RubyMine for some time now and have to say I really enjoy it.

My application is rather large (60ish objects, 20 some plugins, etc...) and with "OK" laptop specs, it runs pretty well. That, and all of the other functionality that it provides makes it well worth the $79 license.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文