GitHub Unveils AI Copilot to Automatically Suggest Code

GitHub introduces a new AI-powered tool called Copilot that acts as an automated pair programmer to suggest lines of code or entire functions. The tool learns from billions of lines of public code and currently works best with popular languages like Python and JavaScript.

GitHub unveils GitHub Copilot, a new artificial intelligence tool that helps developers write code more efficiently. Developed in partnership with OpenAI, this AI pair programmer suggests lines of code or even entire functions directly inside the editor as the user types.

The tool relies on a model trained on billions of lines of public code hosted on GitHub. It understands the context of the current project by analyzing comments, function names, and recent lines, allowing developers to describe a function in plain English and receive working code in return.

Currently available as a technical preview, GitHub Copilot integrates directly with Visual Studio Code and GitHub Codespaces. It works best with Python, JavaScript, TypeScript, Ruby, and Go, and the suggestions improve over time as developers accept or reject the AI's recommendations.

Read More at the original source →