• 请不要在回答技术问题时复制粘贴 AI 生成的内容
ThisDay
V2EX  ›  程序员

各种 cli 的 aiagent 能否 at 指定文件中的某一片代码。

  •  
  •   ThisDay ·
    JustLookAtNow · Mar 26 · 1258 views
    This topic created in 50 days ago, the information mentioned may be changed or developed.

    我现在用得 codex ,想指定它改一下前端的某个卡片,之前在 ide ( antigravity )中,我直接选中要改的代码然后添加到对话框中让它改就行了。现在 cli 中好像很难用自然语言精确描述改哪个位置

    2 replies    2026-03-26 13:52:43 +08:00
    xwayway
        1
    xwayway  
       Mar 26
    艾特文件,说方法,或者直接复制代码片段作为输入,这很精准。不过大部分情况,只要不是屎山,艾特下文件就知道了
    ThisDay
        2
    ThisDay  
    OP
       Mar 26
    @xwayway 前端代码,我很难通过自然语言描述是哪个地方,哪个按钮。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   868 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 21:12 · PVG 05:12 · LAX 14:12 · JFK 17:12
    ♥ Do have faith in what you're doing.