Ask HN: 反重力代码搜索最近是否在减少结果?
3 分•作者: sankalpnarula•5 个月前
最近在使用 Antigravity 时,我遇到了奇怪的搜索问题。
今天,我搜索了 ListenUnixSocket,想看看它在哪里被使用。搜索结果只有大约六个,而且全都是定义和测试文件。实际调用该函数的代码完全不见踪影。我差点把它删了,还以为是废弃代码。
我检查了拼写和大小写,也硬刷新了页面,但没有任何改变。最后,我不得不手动找到调用代码。
更离谱的是:当我打开那个特定的文件,并在里面进行搜索后,主搜索终于更新了。缺失的代码神奇地出现在了我的正常搜索结果中。
感觉像是一个缓存错误。有没有其他人注意到这种情况?
查看原文
I’ve been having weird search problems with Antigravity lately.<p>Today, I searched for ListenUnixSocket to see where it was being used. The search only gave me about six results, and they were all just definitions and test files. The code that actually called the function was completely missing. I almost deleted it because I thought it was dead code.<p>I checked my spelling and capitalization, and I hard refreshed the page, but nothing changed. I ended up having to find the calling code manually.<p>Here’s the crazy part: after I opened that specific file and searched from inside it, the main search finally updated. The missing code magically started showing up in my normal searches.<p>It feels like a caching bug. Has anyone else noticed this happening?