翻篇收录说明
翻篇网页快照

Visual Studio With GitHub Copilot - AI Pair Programming

https://visualstudio.microsoft.com/github-copilot/

最近抓取:2026-12-03 02:16:12(北京时间)

最近内容变化:2026-11-29 19:00:16(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

GitHub Copilot’s latest experience is integrated into Visual Studio and combines the capabilities of Copilot and Copilot Chat into one package.

正文摘录

Visual Studio With GitHub Copilot – AI Pair Programming2026-10-29T08:09:49-07:00 Copilot Free in Visual StudioAgent mode – your AI-driven Copilot just got supercharged Experience AI-powered coding assistance that reasons through problems, coordinates next steps, applies changes, and iterates on errors. Download Visual Studio Community Professional Enterprise Insiders Get started for free GitHub Copilot works shockingly well. I will never develop software without it again. — Lars Gyrup Brink Nielsen I was stunned when I started writing Clojure with GitHub Copilot and it filled as idiomatic namespace require, just like I was going to write it. — Gunnika Batra / Senior Analyst Get started in just 3 steps Install latest version of Visual Studio 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 to discover the new features and improvements. Download Community Professional Enterprise Insiders Start using Copilot for free GitHub Copilot is free to use in Visual Studio, with limited access to select Copilot features. No trial. No credit card required. Just your GitHub account. Get Started 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. Learn moreLooking for GitHub Copilot in an earlier release of Visual Studio ? We can help. 5 tips and tricks01 Best practicesGitHub 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. Watch all videos 02 Prompt like a proThe 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 , and how to create better results with better prompts. Watch all videos 03 Code completionsStart writing in the editor and Copilot will suggest code as you type. Tip: press “tab” to accept a suggestion. GitHub Copilot code completions in Visual Studio 04 Inline chatUse 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” GitHub Copilot inline chat 05 Chat windowAsk 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 GitHub Copilot chat window in Visual Studio Don’t fly soloDevelopers all over the world use Copilot to code faster and do what matters most: building great software. For individuals For businesses Free For getting started with GitHub Copilot. $0per user / month Get startedOpen in VS Code What’s included 2,000 completions per month Access to Haiku 4.5, GPT-5 mini, and more Copilot CLI No credit card required. Verified students have access to the GitHub Copilot Student plan. Learn more Pro For everyday coding with agents in GitHub Copilot. $10per user / month Get started We’re gradually enabling new sign-ups. If you’re unable to sign up right now, please check back soon. Everything in Free and: Access to Cloud agent and code review1 Unlimited code completion and next edit suggestions2 Access to 3rd party agents (Claude Code and Codex) Model selection $15 monthly total credits for Pro3 Pro+ For more complex development with premium models. $39per user / month Get started We’re gradually enabling new sign-ups. If you’re unable to sign up right now, please check back soon. Everything in Pro and: Access to premium models, including Opus Audit logs 4x+ included usage than Pro $70 monthly total credits for Pro+3 BEST VALUE Max For sustained, high-volume agent workflows with GitHub Copilot. $100per user / month Get started We’re gradually enabling new sign-ups. If you’re unable to sign up right now, please check back soon. Everything in Pro+ and: Priority access to new models and features 2.9x+ included usage than Pro+ $200 monthly total credits for Max3 Business For teams that want pooled credits and control. $19per user / month Contact sales What’s included Unlimited code completion and next edit Access to cloud agent and code review1 Access to broad model catalog Access to 3rd party agents Access control, budget control, and governance IP indemnity and data privacy BEST VALUE Enterprise For org-wide rollout and larger pooled credits. $39per user / month Contact sales Everything in Business and: Priority access to new models and features 2x included usage than Business Code review will incur Actions usage. Response times may vary during periods of high usage. Requests may be subject to rate limiting. Flex allotments will vary over time. Compare all plan features FAQ Installation and getting started How to and licensing General, privacy, responsible AI Installation and getting started Installation and getting started How to and licensing General, privacy, responsible AI Expand All Collapse All Visual Studio version 17.10 or laterGetting started with Github Copilot FreeTo access GitHub Copilot Free, follow the existing Visual Studio sign-in process. Once signed in, enable Copilot Free through https://github.com/settings/copilot. Once enabled, GitHub Copilot Free provides a limited number of chats and completions. Learn moreHow do I get started with GitHub Copilot in the latest Visual Studio ? Download the latest version of Visual Studio . Select at least one workload in the installer. Make sure to leave the preselected component GitHub Copilot selected. OR If no workload is selected, install GitHub Copilot by selecting it from Individual components in the installer. Set up a GitHub Copilot subscription for your personal account, or if you are a member of an organization or enterprise with a GitHub Copilot subscription you will need to be assigned a seat by an organization owner. Before starting a paid subscription for a personal account, you can set up a one-time 30-day trial to evaluate GitHub Copilot. To begin a trial, you will need to choose a monthly or yearly billing cycle, and provide a payment method. If you do not cancel the trial before the end of the 30 days, the trial will automatically convert to a paid subscription.You can cancel your GitHub Copilot trial at any time during the 30 days and you won’t be charged. If you cancel before the end of the trial, you will continue to have access to GitHub Copilot until the 30-day trial period ends. For more information, see Managing your GitHub Copilot Individual subscription. Sign into Visual Studio with a GitHub account that has a GitHub Copilot subscription. Follow the steps in Add GitHub accounts to your Visual Studio keychain. For more details visit the learn.microsoft.com Install and manage GitHub Copilot in Visual Studio documentation page.How do I install GitHub Copilot in the latest Visual Studio ?With Visual Studio version 17.10 or later, GitHub Copilot and GitHub Copilot Chat are available to install as a single extension that combines both Copilot and Copilot Chat into one package. The unified GitHub Copilot extension is included as a built-in, recommended component by default in all workloads and is available through the Visual Studio Installer. To get the new unified GitHub Copilot extension: Install Visual Studio version 17.10 or later. Select at least one workload in the installer. Make sure to leave the preselected component GitHub Copilot selected. OR If no workload is selected, install GitHub Copilot by selecting it from Individual components in the installer. GitHub Copilot is installed by default with all workloads. If you choose to exclude it, you can install it later by using the Visual Studio Installer to modify your installation, and selecting the GitHub Copilot component. For more details visit the learn.microsoft.com GitHub Copilot in Visual Studio install documentation page.What are the different GitHub Copilot states in Visual Studio ?With Visual Studio version 17.10 and later, you see a Copilot status icon in the upper-right corner of the Visual Studio environment that indicates if Copilot is active, inactive, unavailable, or not installed. Using the dropdown menu from the status icon, you can easily access options that help manage or troubleshoot your Copilot state. Some options are available or greyed out depending on your Copilot state. See Manage your Copilot state for more information.Visual Studio version 17.9 or earlierWhat if I have a version earlier than Visual Studio 17.10?In Visual Studio versions 17.8 to 17.9, GitHub Copilot and GitHub Copilot Chat are available to install as two separate extensions. Installing GitHub Copilot extension is a prerequisite to installing GitHub Copilot Chat. Follow the steps in Get GitHub Copilot for Visual Studio versions 17.8 to 17.9.Expand All Collapse All I have a GitHub Copilot subscription. How do I activate it in Visual Studio?To enable GitHub Copilot, ensure you have added your GitHub account to Visual Studio. For more information, see Add GitHub accounts to your Visual Studio keychain.Copilot is not showing me relevant suggestions. How do I get better answers?You can get better answers by providing more information to GitHub Copilot Chat including: Use slash commands to quickly specify common tasks like /explain to get code explanations. Scope the chat to specific files using references. Review the source used by Copilot to generate the answer. Use different threads for eac