TextMate: Find in Files seems to have out-of-date cache (maybe because of AckMate?)

别说谁变了你拦得住时间么 提交于 2019-12-24 21:16:41

问题


I have installed AckMate a while ago, and the problem I describe here never happened to me before, so maybe it's because of AckMate...?

Here we go: often when I'm searching inside a project, TextMate finds occurrences of the search pattern in "old versions" of files, meaning it the search pattern has definitely been there once, but isn't anymore! Take a look at the screen:

I searched for encoding_name, and it found it, but when opening the file, there it isn't anymore (but it has been there a while ago, I know that).

The same when searching within log files of Rails: I do a rake log:clear, but it still finds stuff within the log files, but when opening them, they are empty!

What's happening? Is it because of AckMate, maybe? I don't know a lot about it, I just installed it because it was mentioned to be a very nice plugin, and in fact, it is! I also installed PeepOpen, but I don't suspect it to have anything to do with this.

Thanks, for help!


回答1:


I don't really know whether this is related, but it may have something to do with file handles, see here:

Rails doesn't write to development.log file anymore as soon as I save it from another location



来源:https://stackoverflow.com/questions/11721159/textmate-find-in-files-seems-to-have-out-of-date-cache-maybe-because-of-ackmat

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!