Implement code improvements using GitHub Copilot tools

Intermediate
Developer
GitHub

This module explores using GitHub Copilot Chat to develop improvements for an existing codebase. Exercises provide practical experience implementing GitHub Copilot suggestions that improve code quality, reliability, performance, and security.

Learning objectives

By the end of this module, you're able to:

  • Develop prompts/questions for GitHub Copilot Chat that help you to improve the code in your existing code projects.

  • Implement code update suggestions from GitHub Copilot Chat that improve existing code in the areas of code quality, reliability, performance, and security.

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 with a one-time 30-day free trial. For this training, signing up for a GitHub Copilot Free plan is sufficient.

  • Awareness of the GitHub Copilot free trial conditions: if you choose the 30-day free trial offer for GitHub Copilot Pro, a form of payment is requested at sign-up. Charges aren't applied until the trial is over, unless you cancel before the conclusion of the 30-day period.

  • Experience using GitHub Copilot in Visual Studio Code to explain, debug, and generate code.