Skip to content

Latest commit

 

History

History
135 lines (88 loc) · 6.05 KB

README.md

File metadata and controls

135 lines (88 loc) · 6.05 KB

GitHub Copilot Ground School

Supporting GitHub repository for the GitHub Copilot Ground School

Forked from

This repository is forked from the Microsoft Copilot Hackathon

Goal

The goal of a GitHub Copilot Ground School is to learn how to use it through a set of Exercises. These exercises consist of building a web server using Nodejs with different functionalities, a .NET Web API, C++, Python or a Java Rest API (either Spring Boot or Quarkus).

For those who are already familiar with GitHub Copilot, we have also defined a series of Challenges to test your skills. You will find an introduction and short guidance to help you solve the challenge, but you will have to do most of the work on your own (with the help of Copilot, of course).

GitHub Copilot is an AI-powered code assistant that helps developers write better code faster. It uses machine learning models trained on billions of lines of code to suggest whole lines or entire functions based on the context of what you’re working on. By using Copilot, you can learn how to write better code and improve your productivity.

Remember:

  • As you type, GitHub Copilot will make suggestions, you can accept them by pressing Tab.
  • If nothing shows up after Copilot writes some lines, press enter and wait a couple of seconds.
  • Press Ctrl + Enter, to see more suggestions.
  • Use Copilot chat to support your learning and development.
  • Press Ctrl + i to start Copilot chat inline within your code.

Pre-requisites

GitHub Copilot access

If you still do not have an active Copilot license, a 30 day trial can be requested here.

IDE Extensions

Please update your IDE to the latest version. This is important to have the best experience with GitHub Copilot.

Install the Copilot Extension for your IDE:

Please note, the extensions are already installed in Visual Studio 2022 if you have a recent version. You need to log in to use them:

Install Copilot CLI

Follow the instructions for your operating system:

Install Development Tools

VisualStudio Code

Node.js and Typescript

Run:

 npm install --global mocha
 npm install axios

.NET

Install .NET

Java and Maven

Python

C++

PHP

Exercises

Other Exercises

Challenges instructions

Quick Links

  1. About GitHub Copilot
  2. Getting started with GitHub Copilot
  3. About code referencing in GitHub Copilot
  4. Using GitHub Copilot Chat in your IDE
  5. Enabling GitHub Copilot in the CLI
  6. GitHub Copilot MS Learn Modules
  7. GitHub Copilot Certifications