GitHub launches Copilot, a tool that suggests lines of code and functions


Good news for developers: GitHub is launching a tool that will make it easier to write lines of code and save developers a lot of time.

GitHub Copilot is the new artificial intelligence tool powered by OpenAI. © GitHub

GitHub Copilot is powered by Codex, the new AI system created by OpenAI, the “capped profit” structure specializing in artificial intelligence and in which Microsoft has invested $ 1 billion. Based on OpenAI Codex, considered the descendant of GPT-3, the 175 billion parameter language generation algorithm, GitHub Copilot understands more context than most code helpers.

Whether it’s in a documentation string, a comment, a function name, or the code itself, GitHub Copilot uses the context you provided and synthesizes the corresponding code. Together with OpenAI, we are designing GitHub Copilot to become smarter at producing safe and efficient code as developers use it, the platform explains on its overview page.

How does GitHub Copilot work?

Concretely, GitHub Copilot suggests individual lines and entire functions instantly from the context of your comments and code.

It helps you quickly discover other ways to troubleshoot, write tests, and explore new APIs without having to tediously customize an answer search on the Internet. As you type, it adapts to the way you write code, to help you get your work done faster, adds Nat Friedman, CEO of GitHub. in a blog post.

GitHub Copilot works with a wide variety of frameworks and languages, but it’s still more efficient if you use Python, JavaScript, TypeScript, Ruby, and Go, for which it was designed. The special thing: you always stay in control. You have the possibility to browse the suggested suggestions, choose to accept them, reject them or modify them manually in your editor.

© GitHub

The features offered by GitHub Copilot

To make it easier for you to write lines of code, the tool provides you with several practical features:

  • converting your comments into code,
  • automatic filling for the repetitive code,
  • the suggestion of tests that correspond to your implementation code,
  • alternative solutions if you need new approaches.

Among the other features offered by GitHub Copilot, you can easily grab tweets in your code editor.

GitHub Copilot is currently only available in Visual Studio Code and as a test version for a limited number of users. To preview this tool, register on the waiting list. Your feedback will allow the platform to optimize the tool, before a larger-scale commercial deployment.

Receive all digital news by email




Categories:   General

Comments