Cursor 0.42.x上下文 / 索引

Cursor 大型 monorepo 代码索引卡在 0%

Indexing: 0% (stalled)
受影响版本
0.42.x
修复版本
最近验证
Cursor 0.42.3

根因

索引器卡在未被排除的超大目录上,或缺少 `.cursorignore`,导致一直没有进展。

复现步骤

打开包含大型 vendored/构建目录的 monorepo,索引进度条停在 0%。

解决方案 (2)

按社区投票排序。应用前请先确认验证版本。

42
#1适用版本 0.42.x

添加 `.cursorignore` 排除 node_modules、dist、build、vendor 和生成目录,然后触发 'Resync Index'。

最近验证: Cursor 0.42.3 · community

16
#2适用版本 0.42.x

删除本地索引缓存并重新打开工作区,强制干净重建索引。

最近验证: Cursor 0.42.0 · community

相关报错