GitHub Copilot is now available from Visual Studio 2022 for everyone in the technical preview. Since the GitHub Copilot was launched into technical preview last year, the team has been busy learning from the feedback they’ve been receiving as well as expanding the numbers of people with access to the technical preview and the places where one can use it.
Getting started
GitHub Copilot will automatically suggest the code that it thinks you might want. You can press the tab key to accept or you can simply keep typing to ignore and GitHub Copilot will make more suggestions based on what it thinks you are doing. You can press Esc to clear a suggestion completely if it’s getting in your way.
While GitHub Copilot will always show its best recommendation, you can use Ctrl+Alt+] and Ctrl+Alt+[ to navigate the alternatives from the multiple suggestions.
You can adjust the settings for GitHub Copilot at any time by clicking on the GitHub Copilot icon at the bottom of your editor window. That allows you to control when the extension is enabled, including the ability to enable or disable it for particular solutions and programming languages.