Cursor 读不到文件:.cursorignore

仓库里有文件,Agent 坚持没有。

30 秒判断

是否被 ignore。

原因

索引跳过。

处理

  1. 检查 .cursorignore。
  2. 密钥文件应忽略,代码不要误伤。
  3. Reload Window。

怎么确认好了

Agent 能打开该文件。

验证日期:2026-09-01。网页 / 官方订阅 / 官方 Key / 中转 / 本地 bot 分开查。改完配置请完全退出再开。

赞 (0) 打赏

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏