Version 1.107 is now available! Read about the new features and fixes from November.
Dismiss this update
This article answers frequently asked questions about using GitHub Copilot in Visual Studio Code.
There are different ways to get access to GitHub Copilot:
| Type of User | Description |
|---|---|
| Individual |
|
| Organization/Enterprise member |
|
Signing in with a GitHub account that has access to GitHub Copilot has the following benefits:
Depending on your Copilot plan, you might have different levels of access and limits. See GitHub Copilot plans for more information.
You can view the current Copilot usage in the Copilot status dashboard, available through the VS Code Status Bar. The dashboard shows the following information:
Visit the GitHub Copilot documentation for more information about monitoring usage and entitlements.
Your limit of inline suggestions and chat interactions is reset every month. If you've only reached the chat interactions limit, you can still use inline suggestions. Similarly, if you've reached the limit for inline suggestions, you can still use chat.
For users on Copilot Free, to access more inline suggestions and chat interactions, you can sign up for a paid plan directly from VS Code. Alternatively, you can wait until the next month to continue using Copilot for free.

If you're on a paid plan and use all of your premium requests, you can still use Copilot with one of the included models for the rest of the month. You can also request additional premium requests beyond your plan's limit. Learn more about getting additional premium requests in the GitHub Copilot documentation.
To use chat in Visual Studio Code, you must be signed into Visual Studio Code with a GitHub account that has access to GitHub Copilot.
If your Copilot subscription is associated with another GitHub account, sign out of your GitHub account and sign in with another account. Use the Accounts menu in the Activity Bar for signing out of your current GitHub account. See Use a different GitHub account with Copilot for more information.
Verify that your Copilot subscription is still active in GitHub Copilot settings.
If you're using a Copilot plan for a managed user account on GHE.com, you'll need to update some settings before you sign in. See Using GitHub Copilot with an account on GHE.com.
If your Copilot subscription is associated with another GitHub account, sign out of your GitHub account in VS Code, and sign in with another account.
See Use a different GitHub account with Copilot for more information.
You can disable the built-in AI features in VS Code with the chat.disableAIFeatures setting, similar to how you configure other features in VS Code. This disables and hides features like chat or inline suggestions in VS Code and disables the Copilot extensions. You can configure the setting at the workspace or user level.
Alternatively, use the Learn How to Hide AI Features action from the Chat menu in the title bar to access the setting.
If you have previously disabled the built-in AI features, your choice is respected upon updating to a new version of VS Code.
If you or your organization employs security measures like a firewall or proxy server, it may be beneficial to include certain domain URLs in an "allowlist" and open specific ports and protocols. Learn more about troubleshooting firewall settings for GitHub Copilot.
If you're working on company equipment and connecting to a corporate network, you may be connecting to the Internet via a VPN or an HTTP proxy server. In some cases, these types of network setups may prevent GitHub Copilot from connecting to GitHub's server. Learn more about troubleshooting network errors for GitHub Copilot.
This error suggests that you have exceeded the rate limit for Copilot requests. GitHub uses rate limits to ensure everyone has fair access to the Copilot service and to protect against abuse.
See Rate limits for GitHub Copilot for more information about rate limits and what to do if you are rate limited.
Yes, you can switch to the pre-release (nightly) version of a Copilot extension to try the latest features and fixes. From the Extensions view, right-click or select the gear icon to bring up the context menu, and then select Switch to Pre-Release Version:

You can tell if you're running a pre-release version by the "Pre-release" badge in the extension details:

You can enable or disable inline suggestions in VS Code by using the checkboxes in the Copilot status dashboard from the VS Code Status Bar. You can enable or disable inline suggestions globally or for the file type of the active editor.

Alternatively, use the github.copilot.enable and github.copilot.nextEditSuggestions.enabled settings to enable or disable inline suggestions and next edit suggestions, respectively. You can configure these settings at the workspace or user level.
Verify the following requirements to ensure Chat features work in Visual Studio Code:
Verify that agents are enabled in your VS Code settings: chat.agent.enabled. It's possible that your organization has disabled this feature, verify with your administrator to have agents enabled.
You can choose which models are available in the language model picker. Learn how to customize the language model picker.
Organizations can restrict access to certain models. If you believe a model should be available, contact your organization administrator.
By default, the Chat view opens in the Secondary Side Bar. When you close the Chat view for a workspace, VS Code remembers this setting and does not open the Chat view automatically the next time you open that workspace.
You can change the default visibility directly from the Chat view:
... icon in the top-right corner of the Chat view.You can also control the default visibility of the Secondary Side Bar with the workbench.secondarySideBar.defaultVisibility setting. Set it to hidden to prevent the Chat view from opening automatically.
We track issues and feature requests for GitHub Copilot in VS Code in the microsoft/vscode GitHub repository. You can create issues in this repository or use the following feedback mechanisms in VS Code:
Ghost text suggestions
Use the Send Copilot Completion Feedback action when hovering over a ghost text suggestion in the editor. In the Issue Reporter, provide a clear and detailed description of the issue, including steps to reproduce it.

Next edit suggestions
Select the Feedback action in the next edit suggestions menu in the editor gutter. In the Issue Reporter, provide a clear and detailed description of the issue, including steps to reproduce it.

General issues
Open the VS Code Issue reporter (Help menu > Report Issue), select the VS Code Extension source, and then select the GitHub Copilot Chat extension. Provide a clear and detailed description of the issue, including steps to reproduce it.

When you report an issue, follow the guidelines in our wiki to make sure your issue is actionable.
It can be helpful to include information from the GitHub Copilot logs if you're reporting an issue.
The log files for the GitHub Copilot extension are stored in the standard log location for Visual Studio Code extensions.
To get detailed logs for Copilot in VS Code, follow these steps:
If you encounter problems connecting to GitHub Copilot, you can view network connectivity diagnostics logs:
You can use the Chat Debug view to see the details of AI requests and responses, including the prompt being used and the context that is sent to the language model. This view can help you understand how the AI is interpreting your requests and what context it is using to generate responses.
Learn more about the Chat Debug view.