KEMBAR78
GitHub Copilot frequently asked questions

is now available! Read about the new features and fixes from September.

GitHub Copilot frequently asked questions

This article answers frequently asked questions about using GitHub Copilot in Visual Studio Code.

GitHub Copilot subscription

How can I get a Copilot subscription?

There are different ways to get access to GitHub Copilot:

Type of User Description
Individual
  • Set up GitHub Copilot Free to explore basic functionality at no cost with a monthly limit of completions and chat interactions.
  • Sign up for a paid GitHub Copilot plan for more flexibility and access to premium features.
  • See Setting up GitHub Copilot for yourself for all options.
Organization/Enterprise member

What's the advantage of signing in with a GitHub account?

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.

How can I monitor my Copilot usage?

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:

  • Completions: The percentage of code completions quota you have used in the current month.
  • Chat messages: The percentage of chat requests quota you have used in the current month.
  • Premium requests: The percentage of premium requests quota you have used in the current month.
  • Premium requests overage: The number of overage premium requests you have used in the current month.

Visit the GitHub Copilot documentation for more information about monitoring usage and entitlements.

I reached my completions or chat interactions limit

Your limit of code completions and chat interactions is reset every month. If only you've only reached the chat interactions limit, you can still use code completions. Inversely, if you've reached the limit for code completions, you can still use chat.

For users on Copilot Free, to access more completions 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.

Visual indicators in Chat view, Status Bar, and title bar that you reached a limit for Copilot chat messages.

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.

My Copilot subscription is not detected in VS Code

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.

How can I switch accounts for Copilot

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.

General Copilot questions

How can I remove Copilot from VS Code?

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.

Note

If you have previously disabled the built-in AI features, your choice is respected upon updating to a new version of VS Code.

Network and firewall configuration for Copilot

  • 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.

My request is rate-limited

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.

Are there pre-release builds of the Copilot extensions?

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:

Extensions view context menu with Switch to Pre-Release Version option

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

Pre-release version of the GitHub Copilot extension

Code completions

How do I enable or disable code completions?

To enable or disable code completions in VS Code, use the checkboxes in the Copilot status dashboard from the VS Code Status Bar. You can enable or disable code completions globally or for the file type of the active editor.

Screenshot showing the VS Code status bar, highlighting the Copilot icon that indicates Copilot is active.

Alternatively, use the github.copilot.enable and github.copilot.nextEditSuggestions.enabled settings to enable or disable code completions and next edit suggestions, respectively. You can configure these settings at the workspace or user level.

Inline completions are not working in the editor

Chat

Chat features aren't working for me

Verify the following requirements to ensure Chat features work in Visual Studio Code:

  • Make sure you are on the latest version of Visual Studio Code (run Code: Check for Updates).
  • Make sure you have the latest version of both the GitHub Copilot and GitHub Copilot Chat extensions.
  • Your GitHub account that is signed into VS Code must have an active Copilot subscription. Check your Copilot subscription.
  • Verify that you have not reached your limit of chat interactions for the month with the Copilot Free plan.

Agent mode is not available in chat

Verify that agent mode is 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 agent mode enabled.

Not all models are available in the language model picker

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.

How do I prevent the Chat view from opening automatically?

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:

  1. Open the Chat view (⌃⌘I (Windows, Linux Ctrl+Alt+I)).
  2. Select the ... icon in the top-right corner of the Chat view.
  3. Select Show View by Default to enable or disable the automatic opening 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.

Troubleshooting and feedback

How can I provide feedback on Copilot?

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:

  • Code completions

    Use the Send Copilot Completion Feedback action when hovering over a code completion in the editor. In the Issue Reporter, provide a clear and detailed description of the issue, including steps to reproduce it.

    Screenshot that shows sending Copilot Completion Feedback action in the editor.

  • 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.

    Screenshot that shows next edit suggestions menu in the editor gutter.

  • 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.

    Screenshot that shows VS Code Issue Reporter with GitHub Copilot Chat selected.

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.

View logs for GitHub Copilot in VS Code

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:

  1. In the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)), run the Developer: Set Log Level command and set the value to Trace (you can do this only for the GitHub Copilot and GitHub Copilot Chat extensions).
  2. In the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)), run the Output: Show Output Channels command and select either GitHub Copilot or GitHub Copilot Chat from the list.
  3. In the Output panel, you can see the logs for the selected extension.
  4. To switch to another output channel, on the right of the Output panel, select GitHub Copilot or GitHub Copilot Chat from the dropdown menu.

If you encounter problems connecting to GitHub Copilot, you can view network connectivity diagnostics logs:

  1. Open the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)).
  2. Run the GitHub Copilot: Collect Diagnostics command.
  3. An editor tab opens where you can inspect the diagnostics information.

Use the Chat Debug view

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.

Additional resources