-
Kizdar net |
Kizdar net |
Кыздар Нет
Adding repository custom instructions for GitHub Copilot
In Copilot Chat's immersive view (github.com/copilot), you can start a conversation that uses custom instructions by adding, as an attachment, the repository that contains the instructions file.
Quickstart for GitHub Copilot
For instructions on how to install the Copilot extension, see Install GitHub Copilot in Visual Studio in the Microsoft documentation. Add your GitHub account to Visual Studio.
GitHub Copilot のリポジトリ カスタム命令を追加する
効果的なリポジトリのカスタム命令を作成する .github/copilot-instructions.md ファイルに追加する指示は、ユーザーのチャット質問を補完するコンテキストすなわち関連情報を追加する、短い自己完結型の文章であることが必要です。
Best practices for using GitHub Copilot
GitHub Copilot is an AI coding assistant that helps you write code faster and with less effort, allowing you to focus more energy on problem solving and collaboration.
GitHub Copilot documentation - GitHub Docs
You can use GitHub Copilot to get autocomplete-style suggestions from an AI pair programmer as you code.
copilot-instructions/README.md at main - GitHub
A community-driven collection of code generation instructions for GitHub Copilot's experimental feature. Customize Copilot to follow your preferred coding styles, frameworks, and best practices!
Getting started with GitHub Copilot
Dive into expert tips and technical guides to make the most of GitHub Copilot. Get started in Visual Studio Lesson 1: GitHub Copilot 101 Get up to speed with GitHub Copilot and access everything your subscription offers. Lesson 2: Mastering the basics Set yourself up for success by putting the building blocks in place.
为 GitHub Copilot 添加存储库自定义说明
编写有效的存储库自定义说明 添加到 .github/copilot-instructions.md 文件的说明应为简短的自包含语句,这些语句包含可补充用户聊天问题的上下文或相关信息。 以下类型的说明不太可能起到预期的作用,并可能导致 Copilot 的其他内容出现问题:
vscode-docs/docs/copilot/copilot-customization.md at main - GitHub
Apr 3, 2025 · GitHub Copilot in Visual Studio also detects the .github/copilot-instructions.md file. If you have a workspace that you use in both VS Code and Visual Studio, you can use the same file to define custom instructions for both editors.
Setting up GitHub Copilot for yourself
Copilot code suggestions, Copilot Chat in GitHub, and Copilot Chat in your IDE are a great place to start. To learn how to best use Copilot, see Best practices for using GitHub Copilot and Prompt engineering for Copilot Chat.