Latest Visual Studio 2022 with GitHub Copilot woven in
Spend more time on code that matters, with your AI pair programmer now seamlessly integrated.
Get started in just 3 steps
Install latest version of Visual Studio 2022
GitHub Copilot’s latest experience is integrated into Visual Studio and combines the capabilities of GitHub Copilot’s code completion and GitHub Copilot Chat into one convenient package. Download the latest Visual Studio 2022 to discover the new features and improvements.
Sign up for free trial
GitHub Copilot is free for verified students and for maintainers of popular open-source projects on GitHub. If you’re not a student or a maintainer of a popular open-source project, you can try GitHub Copilot for free with a one-time 30-day trial.
Sign in with your GitHub account
To enable GitHub Copilot, ensure you have added your GitHub account to Visual Studio. For more information, see Work with GitHub accounts in Visual Studio in the Microsoft documentation.
5 tips and tricks
01
Best practices
GitHub Copilot is a coding assistant powered by Artificial Intelligence (AI), which can run in various environments and help you be more efficient in your daily coding tasks. In this new series of content, we will show you how GitHub Copilot works in Visual Studio specifically and how it helps you being more productive.
02
Prompt like a pro
The quality of the output of any Large Language Model depends largely on the quality of the prompt, and GitHub Copilot is no exception. In this new video, Gwyn teaches about “prompt engineering” for GitHub Copilot in Visual Studio 2022, and how to create better results with better prompts.
03
Code completions
Start writing in the editor and Copilot will suggest code as you type.
Tip: press “tab” to accept a suggestion.
04
Inline chat
Use Inline Chat will help you write your methods, classes, unit tests by converting your prompts to code. Open Inline by right-clicking in your text file and selecting “Ask Copilot” or Alt + /`
Tip: Use”/” to state your intent or “#” to refer to your files(s). Like “/test for #filename”
05
Chat window
Ask questions about your solution or files. Open from the Copilot Badge or CTRL + /, C.
Tip: Use #solution to refer to your active solution (only for C#) in Visual Studio
Don’t fly solo
Developers all over the world use GitHub Copilot to code faster, focus on business logic over boilerplate, and do what matters most: building great software.
Copilot Individual
For individual developers, freelancers, students, and educators that want to code faster and happier.
$10USDper month / $100 USD per year
Chat
- Unlimited messages and interactions
- Context-aware coding support and explanations
- Debugging and security remediation assistance
- Access to knowledge from top open source repositories
- Pull request diff analysis
- Web search powered by Bing (Public beta)
- Ability to ask about a failed Actions jobs (Public Beta)
- Answers about issues, PRs, discussions, files, commits etc.
Code completion
- Real time code suggestions
- Comments to code
Customization
- Tailor chat conversations to your private codebase (up to 5/50/unlimited repos)²
- Unlimited integrations with Copilot Extensions (Public Beta)
- Build a private extension for internal tooling (Public Beta)
- Attach knowledge bases to chat for organizational context
- Fine-tuned models for code completion (coming soon as add-on)
AI-native experiences
- Inline chat and prompt suggestions
- Slash commands and context variables
- Commit message generation
- Pull request summary generation
Supported environments
- IDE, CLI and GitHub Mobile
- GitHub.com
Management and policies
- Public code filter with code referencing
- User management
- Data excluded from training by default
- Enterprise-grade security
- IP indemnity
- Content exclusion
- SAML SSO authentication1
- Requires GitHub Enterprise Cloud
- Usage metrics
Most popular
Copilot Business
For organizations ready to improve engineering velocity, code quality, and developer experience.
$19USDper user / month
Chat
- Unlimited messages and interactions
- Context-aware coding support and explanations
- Debugging and security remediation assistance
- Access to knowledge from top open source repositories
- Pull request diff analysis
- Web search powered by Bing (Public beta)
- Ability to ask about a failed Actions jobs (Public Beta)
- Answers about issues, PRs, discussions, files, commits etc.
Code completion
- Real time code suggestions
- Comments to code
Customization
- Tailor chat conversations to your private codebase (up to 5/50/unlimited repos)²
- Unlimited integrations with Copilot Extensions (Public Beta)
- Build a private extension for internal tooling (Public Beta)
- Attach knowledge bases to chat for organizational context
- Fine-tuned models for code completion (coming soon as add-on)
AI-native experiences
- Inline chat and prompt suggestions
- Slash commands and context variables
- Commit message generation
- Pull request summary generation
Supported environments
- IDE, CLI and GitHub Mobile
- GitHub.com
Management and policies
- Public code filter with code referencing
- User management
- Data excluded from training by default
- Enterprise-grade security
- IP indemnity
- Content exclusion
- SAML SSO authentication1
- Requires GitHub Enterprise Cloud
- Usage metrics
New
Copilot Enterprise
For companies looking to customize GitHub Copilot to their organization and infuse AI across the developer workflow.
$39USDper user / month
Chat
- Unlimited messages and interactions
- Context-aware coding support and explanations
- Debugging and security remediation assistance
- Access to knowledge from top open source repositories
- Pull request diff analysis
- Web search powered by Bing (Public beta)
- Ability to ask about a failed Actions jobs (Public Beta)
- Answers about issues, PRs, discussions, files, commits etc.
Code completion
- Real time code suggestions
- Comments to code
Customization
- Tailor chat conversations to your private codebase (up to 5/50/unlimited repos)²
- Unlimited integrations with Copilot Extensions (Public Beta)
- Build a private extension for internal tooling (Public Beta)
- Attach knowledge bases to chat for organizational context
- Fine-tuned models for code completion (coming soon as add-on)
AI-native experiences
- Inline chat and prompt suggestions
- Slash commands and context variables
- Commit message generation
- Pull request summary generation
Supported environments
- IDE, CLI and GitHub Mobile
- GitHub.com
Management and policies
- Public code filter with code referencing
- User management
- Data excluded from training by default
- Enterprise-grade security
- IP indemnity
- Content exclusion
- SAML SSO authentication1
- Requires GitHub Enterprise Cloud
- Usage metrics
1: Authentication with SAML single sign-on (SSO) available for organizations using GitHub Enterprise Cloud.
2: Feature in public beta for Copilot Individual and Business plans. Requires use of repositories, issues, discussions, Actions, and other features of GitHub.
Learn about GitHub Copilot Terms and Conditions.