GitHub Copilot has been proven to increase developer productivity and accelerate the pace of software development.During this training you’ll learn how to accelerate your development tasks using GitHub Copilot and GitHub Copilot Chat in a Visual Studio Code environment. You’ll learn how to use GitHub Copilot and GitHub Copilot Chat to explain complex or unfamiliar code, generate project and inline documentation, develop new code features based on prompts and comments, create unit tests, and improve the code quality, reliability, performance, and security of an existing codebase.
Course Outline
Lesson 1: Get started with GitHub Copilot
- Introduction
- Examine AI tools from GitHub, OpenAI, and Microsoft
- Compare GitHub Copilot plans
- Review GitHub Copilot features
- Examine GitHub Copilot’s setup process
- Configure GitHub Copilot settings in Visual Studio Code
- Manage GitHub Copilot policies, features, and extensions for individuals
- Examine GitHub Copilot’s code completion features
- Examine GitHub Copilot’s AI assistance features
- Examine GitHub Copilot Chat view features
- Examine GitHub Copilot inline chat, smart actions, and quick chat
- Exercise – Examine GitHub Copilot settings and user interface features
- Module assessment
- Summary
Lesson 2: Generate documentation using GitHub Copilot tools
- Introduction
- Review GitHub Copilot’s “explain” and “document” features
- Examine GitHub Copilot prompts and keywords
- Analyze and explain code using GitHub Copilot
- Generate project documentation using GitHub Copilot
- Generate inline code documentation using GitHub Copilot
- Exercise – Analyze and document code using GitHub Copilot
- Module assessment
- Summary
Lesson 3: Develop code features using GitHub Copilot tools
- Introduction
- Examine the code development features of GitHub Copilot
- Examine GitHub Copilot best practices
- Generate code using GitHub Copilot code completion suggestions
- Generate code using GitHub Copilot Chat
- Exercise – Develop new code features using GitHub Copilot
- Module assessment
- Summary
Lesson 4: Develop unit tests using GitHub Copilot tools
- Introduction
- Examine the unit testing tools and environment
- Create unit tests using the Generate Tests smart action
- Create unit tests using Inline Chat
- Create unit tests using Chat view modes
- Exercise – Develop unit tests using GitHub Copilot
- Module assessment
- Summary
Lesson 5: Implement code improvements using GitHub Copilot tools
- Introduction
- Review GitHub Copilot’s code improvement features
- Examine GitHub Copilot’s quick fix options
- Review code refactoring scenarios and GitHub Copilot best practices
- Refactor code using GitHub Copilot Inline Chat
- Refactor code using GitHub Copilot Chat modes
- Examine the GitHub Copilot code review features
- Exercise – Refactor existing code using GitHub Copilot
- Module assessment
- Summary