-
Kizdar net |
Kizdar net |
Кыздар Нет
Adding repository custom instructions for GitHub Copilot
About repository custom instructions for GitHub Copilot Chat GitHub Copilot can provide chat responses that are tailored to the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so.
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 Chat のリポジトリのカスタム命令について GitHub Copilot は、チームの活動方法、使用するツール、またはプロジェクトの詳細に合わせて調整されたチャット応答を提供できます (そのために十分なコンテキストを指定した場合)。
Best practices for using GitHub Copilot
For Copilot Chat in your IDE, see Asking GitHub Copilot questions in your IDE for instructions specific to your environment. For Copilot Chat in GitHub, leave a comment on the feedback discussion.
GitHub Copilot documentation - GitHub Docs
Asking GitHub Copilot questions in your IDE Use Copilot Chat in your editor to give you code suggestions, explain code, generate unit tests, and suggest code fixes.
copilot-instructions/README.md at main - GitHub
GitHub Copilot has introduced an experimental feature that allows developers to provide Code Generation Instructions. These instructions guide Copilot to generate code that adheres to your specific coding styles, uses preferred libraries, and follows best practices. This repository serves as a centralized collection of such instructions, categorized by programming languages and …
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.
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.
Setting up GitHub Copilot for yourself
For all the ways you can use Copilot, see Using GitHub Copilot. 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.
为 GitHub Copilot 添加存储库自定义说明
编写有效的存储库自定义说明 添加到 .github/copilot-instructions.md 文件的说明应为简短的自包含语句,这些语句包含可补充用户聊天问题的上下文或相关信息。 以下类型的说明不太可能起到预期的作用,并可能导致 Copilot 的其他内容出现问题: