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.
Visit GitHub Dashboard:
Log in to your GitHub account.
Navigate to your dashboard to see all your projects.
Accessing Settings:
Click on your profile at the upper right of the page.
Select "Settings" from the dropdown menu.
Navigating to Code Planning, Automation, and Tools:
In the settings menu, go to Code planning automation and tools
.
Select "Copilot".
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.
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.
Post-Installation:
After installation, you should see the Copilot icon at the bottom of your IDE window.
The status should indicate "ready."
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.
Start your Trial:
If you haven't started your trial, prompt to start one to begin using the tool.
Open Any File:
Go to any file within your project.
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!