V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
shuffblow
V2EX  ›  Cursor

为何 cursor 的回答没法直接跳转到具体行号的代码

  •  
  •   shuffblow · 5 天前 · 267 次点击

    和 cursor 的 agent 对话的时候,他所有回答中都没法直接点击跳转到具体代码中,请问有没有啥提示词可以提前约束

    例如下面这个回答,我想要的是点击文件中的路径跳转到对应行号,而不是行号另外写,链接仅仅跳到文件: [ERROR] 不安全的对象访问 文件:client/src/pages/ExternalAgent/Pages/CancelAcount/index.jsx 行号:28 问题:直接访问 res.userName 可能导致空指针异常 建议: Apply to index.jsx tUserName(res?.userName || '') setUserName(res?.userName || '')

    目前尚无回复
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5861 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 01:43 · PVG 09:43 · LAX 18:43 · JFK 21:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.