开发者

Is there any way to force TextMate to cache files?

开发者 https://www.devze.com 2022-12-16 15:36 出处:网络
I\'m working with a Rails project over an AFP mount in TextMate. Every time T开发者_JAVA技巧extMate becomes the active window, it spins for around 30s-1m, which is VERY frustrating. I\'ve sampled Text

I'm working with a Rails project over an AFP mount in TextMate. Every time T开发者_JAVA技巧extMate becomes the active window, it spins for around 30s-1m, which is VERY frustrating. I've sampled TextMate when this is happening, and found multiple calls to +[NSFileAttributes _attributesAtPath:partialReturn:filterResourceFork:error:] to be the issue. Is there any way to eliminate these spins?

I'm the only one working on the files, so I don't really care about collisions with file changes(I wouldn't mind if the files were cached locally until I explicitly saved them).


Yep. There's a plugin for this --

Remate

BTW, what's going on is that TextMate is refreshing your entire source tree. This plugin will turn this off - the effect of which is that if you add new files to your source tree, you need to turn off and on the plugin (which is very easy, it's under the "Window" menu).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号