Develop code features using GitHub Copilot tools
This module explores using GitHub Copilot and GitHub Copilot Chat suggestions to create new code. Autocompletion and code update suggestions are generated, managed, and implemented using GitHub Copilot in Visual Studio Code.
Learning objectives
By the end of this module, you're able to:
Generate autocompletion suggestions based on code and code comments using the GitHub Copilot extension for Visual Studio Code.
Manage autocompletion suggestions by accepting, partially accepting, and dismissing suggestions.
Create chat prompts/questions that communicate your intent by using a combination of chat participants, slash commands, chat variables, and natural language text.
Create new code using the Chat View, Inline Chat, Quick Chat, and Smart Actions features provided by the GitHub Copilot Chat extension for Visual Studio Code.
Manage code update suggestions by accepting, partially accepting, editing, and discarding the suggestions generated by GitHub Copilot Chat.
Prerequisites
One or more years of software development experience is recommended.
Experience developing C# applications using Visual Studio Code and the C# Dev Kit extension is recommended.
An active subscription for GitHub Copilot is required for either your personal GitHub account or a GitHub account managed by an organization or enterprise. You can set up a GitHub Copilot Free plan or sign-up for a GitHub Copilot Pro subscription. For this training, signing up for a GitHub Copilot Free plan is sufficient.
Experience using GitHub Copilot in Visual Studio Code to explain and document code.