V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
whitewatercn
V2EX  ›  程序员

vscode 的 prompt.mdinstructions.md 有什么区别?

  •  
  •   whitewatercn · 12 小时 2 分钟前 · 316 次点击

    个人理解 prompt.md 是 copilot 通用的提示词 instructions.md 是专门针对某个项目、某类语言的提示词

    但是感觉两个能互相替代?

    官方的说明

    https://code.visualstudio.com/docs/copilot/customization/custom-instructions

    https://code.visualstudio.com/docs/copilot/customization/prompt-files

    2 条回复    2025-12-31 20:59:43 +08:00
    whitewatercn
        1
    whitewatercn  
    OP
       11 小时 12 分钟前
    琢磨了一下,基本搞明白了
    https://forum.beginner.center/t/topic/2563
    AoEiuV020JP
        2
    AoEiuV020JP  
       7 小时 7 分钟前
    没明白, 我一开始根据指引创建了 prompt.md ,后面发现一点效果没有,
    然后根据指引创建了 instructions.md , 有效,
    最后发现是自动在用户设置.json 里加上了目录.github/instructions ,而 prompt 可能露了啥配置, 麻烦,instructions 应该就够了吧,
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   803 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 20:07 · PVG 04:07 · LAX 12:07 · JFK 15:07
    ♥ Do have faith in what you're doing.