Introduction
GitHub Copilot is an AI coding partner that provides autocomplete suggestions while you code. Get suggestions by typing code or describing it in natural language.
Copilot analyses your file and related files, offering suggestions in your text editor. It uses OpenAI Codex, a new AI system developed by OpenAI, to help derive context from written code and comments, and then suggests new lines or entire functions.
GitHub Codespaces a hosted developer environment operating in the cloud that can be run with Visual Studio Code. You can customize the development experience for any development project on GitHub, preinstalling dependencies, libraries, and even Visual Studio Code extensions and settings.
Scenario: Improving a project
As a developer, you want to be more productive typing code faster both for net new projects and existing ones. For this task, you hope that an AI assistant is what you need to improve your developer workflows in code writing, documentation, testing and more.
In this module, you'll understand how you can use GitHub Copilot with applied examples modifying a repository using a prompt to customize scroll behavior and live suggestions after typing initial code.
What will I learn?
By the conclusion of this module, you'll acquire the skills to:
- Configure a GitHub repository in Codespaces and install GitHub Copilot extension.
- Crafted prompts to generate suggestions from GitHub Copilot
- Applied GitHub Copilot to improve your projects.
What is the main objective?
After successfully finishing this module, you'll be capable of using a prompt to customize a JavaScript project with GitHub Copilot in GitHub Codespaces.
Prerequisites
Skills:
- Basic understanding of JavaScript and text editors.
- Basic comprehension of Git and GitHub Fundamentals and running basic
git
commands likegit add
andgit push
Accounts: