
You can learn more about billing for Copilot in the GitHub Copilot documentation. Select Signup for GitHub Copilot to activate your trial. If you haven't yet activated your free trial for Copilot, the extension will notify you in VS Code. To approve these permissions, select Authorize Visual Studio Code. In your browser, GitHub will request the necessary permissions for GitHub Copilot. If you have not previously authorized VS Code in your GitHub account, you will be prompted to sign in to GitHub in VS Code: These provide you the latest updates in both Copilot and VS Code overall. Note: For some of the latest features we'll explore below, you'll need to use the GitHub Copilot Nightly extension and VS Code Insiders. You can also activate your trial starting from the GitHub Copilot signup page. In the content below, you'll learn how VS Code will help you activate your free trial directly from VS Code.

To use GitHub Copilot, you need an active GitHub Copilot subscription. You'll use the GitHub Copilot extension to power your AI suggestions in VS Code. You can use the Copilot extension in VS Code to generate code, learn from the code it generates, and even configure your editor. The GitHub Copilot extension is an AI pair programmer tool that helps you write code faster and smarter. Configure IntelliSense for cross-compiling.Thanks to everyone who attended the talk and asked such awesome questions! If you missed it, the video is above and all the code, links and resources can be found in the GitHub repo linked below. We also had some fun with the text-based GPT3 model to generate a poem about Python and to suggest a funny cat name token by token. I showed an R script to access the OpenAI API directly using the httr2 package, and also provided an R function to call an OpenAI model.

With the Azure OpenAI Service, you can access the underlying OpenAI Codex model directly, and generate code suggestions via its API. I also took a behind-the-scenes look to see how Copilot uses Generative AI to make its suggestions. In the presentation (video below) I showed how while I was editing in Visual Studio Code with Copilot enabled, it suggested tidyverse functions for cleaning a data set, and even the code for performing an analysis of variance:

If you haven't come across Copilot before, it's like an AI-based pair programmer that suggests new lines of code, and perhaps entire functions, based on context. It was my great pleasure to present last week to the NYC Data Hackers on the topic of Copilot for R.
