Setup Github Copilot

Setting Up GitHub Copilot

In this lesson, we'll focus on setting up another generative AI tool, which will be a central part of our course. Follow the quickstart guide available from GitHub docs. The link to the guide will be included in the course description.

Quick Start Guide Overview

  1. Visit GitHub Dashboard:

    • Log in to your GitHub account.
    • Navigate to your dashboard to see all your projects.
  2. Accessing Settings:

    • Click on your profile at the upper right of the page.
    • Select "Settings" from the dropdown menu.
  3. Navigating to Code Planning, Automation, and Tools:

    • In the settings menu, go to Code planning automation and tools.
    • Select "Copilot".
  4. Installing GitHub Copilot:

    • If you haven't installed Copilot yet, you should see some installation options.
    • If you're using Visual Studio Code, select it to see a detailed guide.
    • Follow the prompts to install GitHub Copilot.

Installation Steps

  1. Start Installation:

    • Click the installation link for your desired Integrated Development Environment (IDE). For example, Visual Studio Code.
    • Follow the on-screen prompts to complete the installation.
  2. Post-Installation:

    • After installation, you should see the Copilot icon at the bottom of your IDE window.
    • The status should indicate "ready."
  3. Logging In:

    • Ensure you are logged in to your GitHub account within your IDE.
    • If not already logged in, sign in now to activate the Copilot tool.
  4. Start your Trial:

    • If you haven't started your trial, prompt to start one to begin using the tool.

Checking Functionality

  1. Open Any File:

    • Go to any file within your project.
  2. Invoke GitHub Copilot:

    • Type command + E (or equivalent shortcut in other IDEs).
    • A text box for Copilot suggestions should appear.

By following these steps, you can successfully set up and start using GitHub Copilot in your development environment. Happy coding!