public

GitHub Copilot

GitHub's Copilot program is now available and the basic premise is that based off common code lines, an AI model will attempt to auto-complete it

14 days ago

Latest Post GitHub Copilot by Tyler Moon public

The new beta for GitHub's Copilot program is now available and it looks quite interesting. After training OpenAI models on billions of lines of code it is now available as an IDE extension. The basic premise is that based off comments, method signatures, or other common code lines, the AI model will attempt to guess what code you are going to write next and auto-complete it. The big difference between Copilot and other autocomplete systems is that it scans for context from the entire file instead of just the current line.

Example:

From this screenshot I simply wrote out the function definition function calculateDaysBewteenDates and then Copilot figured out the rest so I could just hit tab to autocomplete the method. It takes a bit to get used to how Copilot works and what is required to get the correct results but it could be very useful. This project is just getting started but I would definitely recommend checking it out!

As Copilot is still in a beta stage you will have to request access to it here. Once you get notified of access then follow the setup instructions here to get started.

Tyler Moon

Published 14 days ago