Copilot Account and Profile ShortcutsA VS Code extension with a status-bar button and keyboard shortcut to GitHub Copilot Chat's account preferences, plus profile/window shortcuts. This does not switch accounts per individual built-in chat. VS Code saves Copilot's account preference per workspace and profile. Changing that preference is not scoped to the active conversation. This extension does not bind an account to a chat, transfer licenses, verify entitlements, or merge quotas. Install
You can also open the Visual Studio Marketplace listing, click Install, allow your browser to open Visual Studio Code, and complete installation in VS Code. No repository clone or VSIX download is needed. Alternatively, open Quick Open with Cmd+P on macOS or Ctrl+P on Windows/Linux and enter:
The shortcut is Cmd+Alt+Shift+A on macOS or Ctrl+Alt+Shift+A on Windows/Linux. Change it in Keyboard Shortcuts if it conflicts with another tool. The picker may also offer another sign-in; authentication is managed by VS Code. Work and personal accounts side by side
Use separate windows for concurrent conversations under different accounts. Switch Profile in This Window changes the whole window's profile; it is not a per-chat switch. Profiles are configuration boundaries, not separate OS users or credential security boundaries. This extension does not enforce account isolation. Do not assume an existing chat retains the account that was selected when it began. The button is deliberately not labelled with a purported "active account": the public authentication API does not expose Copilot Chat's selected account to other extensions. A list of signed-in GitHub accounts would not prove which account Copilot is actually using. Commands
Compatibility and privacyRequires VS Code 1.96 or newer. This is an independent extension, not an official GitHub or Microsoft product. Licensed under the MIT License. The minimum version is an engine baseline, not a guarantee that every built-in command exists on every build. VS Code does not expose a public API to set another extension's account
preference. This utility invokes VS Code's own account-preferences UI using the
internal The extension does not read/store tokens, request authentication scopes, inspect chat content, modify settings or credential files, or make network requests. VS Code and Copilot continue to handle authentication and service requests. Each selected account needs its own valid Copilot entitlement. Organization policies and data-handling restrictions still apply, especially when switching from a work account to a personal account. Updates and supportVS Code normally updates Marketplace extensions automatically unless you have disabled automatic updates. To update manually, open the Extensions view, select this extension, and click Update when available. Report problems through GitHub Issues. Include your VS Code version and the command that failed. Do not include tokens, private chat content, or other sensitive information. DevelopmentRequires Node.js 22+ and npm. Install dependencies with VSIX installation is only needed for a local development build: run
Automated tests mock the VS Code boundary and cover dispatch, cancellation, unavailable commands, errors, and disposal. They do not validate real sign-in, license selection, or account changes in a live Extension Host. Manual verification after installation:
References |