问题描述
我已经安装了AckMate一段时间,而这里描述的问题以前从未发生在我身上,所以也许是因为AckMate ...?
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...?
转到:通常,当我在项目内部进行搜索时,TextMate会在文件的旧版本中找到搜索模式的出现,这意味着搜索模式肯定曾经存在过一次,但现在已经不存在了!看一下屏幕:
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:
我搜索了encoding_name,并找到了它,但是当打开文件时,它不再存在(但是它已经存在了一段时间,我知道
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).
在Rails的日志文件中搜索时相同:我做了一个 rake log:clear
,但是它仍然可以在日志文件中找到内容,但是在打开它们时,它们是空的!
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!
这是怎么回事?可能是因为AckMate吗?我对其了解不多,我刚刚安装它是因为它被认为是一个非常不错的插件,实际上,它是!我还安装了PeepOpen,但我不怀疑它与此有任何关系。
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.
谢谢您的帮助!
推荐答案
我真的不知道这是否相关,但可能与文件句柄有关,请参见此处:
I don't really know whether this is related, but it may have something to do with file handles, see here:
这篇关于TextMate:“在文件中查找”似乎具有过期的缓存(可能是因为AckMate吗?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!