GitHub Copilot, Your AI Pair Programmer
by Tech Mainstream
June 29, 2021
GitHub Copilot, Image/Pixabay
(Tech Mainstream) Copilot, a new tool launched by GitHub essentially gets suggestions for whole lines or entire functions right inside your preferred editor:
"Trained on billions of lines of public code, GitHub Copilot puts the knowledge you need at your fingertips, saving you time and helping you stay focused."
Powered by Codex, the new AI system created by OpenAI, Github Copilot is much more than autocomplete and code assistants:
"GitHub Copilot understands significantly more context than most code assistants. So, whether it’s in a docstring, comment, function name, or the code itself, GitHub Copilot uses the context you’ve provided and synthesizes code to match."
Copilot is available today as a Visual Studio Code extension and "works wherever Visual Studio Code works — on your machine or in the cloud on GitHub Codespaces."
Although you are ultimately in charge, you determine alternative suggestions, choose which to accept or reject, and manually edit suggested code. In other words GitHub Copilot adapts to the edits you make, matching your coding style.