cpalead

github copilot 有这样的功能吗?

  •  
  •   cpalead · Sep 6, 2025 · 2489 views
    This topic created in 324 days ago, the information mentioned may be changed or developed.

    现在使用 copilot 的 agent 的时候,貌似自动会把上下文设置成当前打开的文件。他的 agent 能不能根据我说的话自动找到对应的文件做修改,而不是只在当前打开的文件里修改。这个功能 copilot 现在支持吗,怎么用

    4 replies    2025-09-06 18:53:40 +08:00
    donaldturinglee
        1
    donaldturinglee  
       Sep 6, 2025
    加 prompt ,xxx 文件在 xxx 地方,修改对应的 xxx
    coldle
        2
    coldle  
       Sep 6, 2025 via Android   ❤️ 1
    实际使用的时候是会根据要求自己去找文件的,这个应该用一下就知道哇
    akiyamamio
        3
    akiyamamio  
       Sep 6, 2025
    cursor 用 @ ,copilot 用 # ,在后面填上你文件的相对根目录地址就行了
    soulflysimple123
        4
    soulflysimple123  
       Sep 6, 2025
    加上 #codebase
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2910 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 14:47 · PVG 22:47 · LAX 07:47 · JFK 10:47
    ♥ Do have faith in what you're doing.