Skip to main content
Select language: current language is Simplified Chinese
搜索或询问 Copilot
打开菜单

支持不同类型的自定义说明

了解哪些环境支持哪种类型的自定义指令。

本参考文章详细介绍了各种环境中支持哪种类型的自定义指令。 有关各种类型的自定义指令 GitHub Copilot 的详细信息,请参阅 关于自定义GitHub Copilot 响应

GitHub.com

Copilot 功能 支持的自定义指令类型
副驾驶聊天
  • 👤   个人指示
  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。
  • 🏢 组织的说明。
Copilot云代理
  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。
  • 📂   路径特定 说明(使用 .github/instructions/**/*.instructions.md 文件)。
  • 🤖 代理说明(使用AGENTS.mdCLAUDE.mdGEMINI.md文件)。
  • 🏢 组织的说明。
Copilot 代码评审
  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。
  • 📂   路径特定 说明(使用 .github/instructions/**/*.instructions.md 文件)。
  • 🏢 组织的说明。

Visual Studio Code

Copilot 功能 支持的自定义指令类型
副驾驶聊天
  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。
  • 📂   路径特定 说明(使用 .github/instructions/**/*.instructions.md 文件)。
  • 🤖 代理 指令(使用 AGENTS.md 文件)。
Copilot云代理
  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。
  • 📂   路径特定 说明(使用 .github/instructions/**/*.instructions.md 文件)。
  • 🤖 代理说明(使用AGENTS.mdCLAUDE.mdGEMINI.md文件)。
Copilot 代码评审
  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。

Visual Studio

Copilot 功能 支持的自定义指令类型
副驾驶聊天
  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。
  • 📂   路径特定 说明(使用 .github/instructions/**/*.instructions.md 文件)。
Copilot 代码评审
  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。

JetBrains IDE

Copilot 功能 支持的自定义指令类型
副驾驶聊天
  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。
  • 📂   路径特定 说明(使用 .github/instructions/**/*.instructions.md 文件)。
Copilot云代理
  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。
  • 📂   路径特定 说明(使用 .github/instructions/**/*.instructions.md 文件)。
  • 🤖 代理说明(使用AGENTS.mdCLAUDE.mdGEMINI.md文件)。
Copilot 代码评审
  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。
  • 📂   路径特定 说明(使用 .github/instructions/**/*.instructions.md 文件)。

Eclipse

Copilot 功能 支持的自定义指令类型
副驾驶聊天
  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。
Copilot云代理
  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。
  • 📂   路径特定 说明(使用 .github/instructions/**/*.instructions.md 文件)。
  • 🤖 代理说明(使用AGENTS.mdCLAUDE.mdGEMINI.md文件)。
Copilot 代码评审
  • 目前不支持自定义说明。

Xcode

Copilot 功能 支持的自定义指令类型
副驾驶聊天
  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。
  • 📂   路径特定 说明(使用 .github/instructions/**/*.instructions.md 文件)。
Copilot云代理
  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。
  • 📂   路径特定 说明(使用 .github/instructions/**/*.instructions.md 文件)。
  • 🤖 代理说明(使用AGENTS.mdCLAUDE.mdGEMINI.md文件)。
Copilot 代码评审
  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。
  • 📂   路径特定 说明(使用 .github/instructions/**/*.instructions.md 文件)。

Copilot 命令行界面(CLI)

  • 📦   存储库范围的 说明(使用 .github/copilot-instructions.md 文件)。
  • 📂   路径特定 说明(使用 .github/instructions/**/*.instructions.md 文件)。
  • 🤖 代理 指令(使用 AGENTS.md 文件)。

延伸阅读

Morty Proxy This is a proxified and sanitized view of the page, visit original site.