GitHub Copilot, the new tool in AI that will help programmers

GitHub has launched an AI-based service that will help developers by suggesting how to complete the code they are writing

(Photo: Unsplash)

The new artificial intelligence (Ai) of GitHub it will help in writing programming code. The tool just presented is called GitHub Copilot and can suggest to developers from a few lines of code to entire functions. GitHub partnered with OpenAI to create this tool which, according to the company, should not replace developers, but improve their productivity and facilitate learning of the code. As the name implies, the pilot is still the one who has their hands on the keyboard.

GitHub CEO Nat Friedman, presenting the news on Twitter wrote that the company has been working on it for a year and that the functionality is already being used internally. “It’s a piece of the future teleported backwards in 2021 “he enthusiastically commented.

The model behind GitHub Copilot was trained on billions of lines of code, many of which are publicly available on GitHub itself. When writing code, GitHub Copilot suggests how to complete the string or function as you type. You can scroll through the suggestions, accept them or reject them.

To understand what you’re currently programming, GitHub Copilot analyzes the meaning of a comment, the name of the function you’re writing, or the last two lines. According to GitHub it can also be very useful when you start programming with a new language.

GitHub Copilot integrates directly with Visual Studio Code. You can install it as an extension or use it in the cloud with GitHub Codespaces. It is currently available as a technical preview, but GitHub plans to launch a commercial product based on GitHub Copilot.

Currently the programming languages ​​with which it works best are Python, JavaScript, TypeScript, Ruby and Go. Over time, the service should improve based on how you interact with him, whether or not you accept his suggestions.

Categories:   Internet