[FEATURE] Multi-account support in VSCode extension

Open 💬 8 comments Opened May 2, 2026 by hnkhuy

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Summary

The Claude Code VSCode extension does not support switching between multiple Claude accounts, making it impossible to use a second account when the first one hits its usage quota.

Motivation

Power users who rely heavily on Claude Code for coding sessions often exhaust the usage quota of a single Claude Pro account within a day. A common workaround is to maintain two separate Claude Pro accounts and switch between them. This works well in the terminal via CLAUDE_CONFIG_DIR, but the VSCode extension always uses a single fixed account with no way to switch.

Current behavior

  • The terminal CLI supports multiple accounts via the CLAUDE_CONFIG_DIR environment variable (e.g. CLAUDE_CONFIG_DIR=~/.claude-acc2 claude)
  • The VSCode extension reads from its own config directory (~/.claude-code-gui/) and does not respect CLAUDE_CONFIG_DIR
  • The only way to switch accounts in the extension is to manually /logout and re-authenticate, which is disruptive

Expected behavior

The VSCode extension should allow users to:

  1. Add and save multiple Claude accounts
  2. Switch between accounts from the extension UI (e.g. a dropdown in the Account & Usage panel)
  3. Optionally: show remaining quota per account so users know when to switch

Workaround

Currently using terminal aliases as a partial workaround:

alias claude-a="claude"
alias claude-b="CLAUDE_CONFIG_DIR=~/.claude-acc2 claude"

This works in the terminal but the VSCode extension always stays on the primary account.

Environment

  • OS: macOS
  • Claude Code VSCode extension
  • Plan: Claude Pro (multiple accounts)

Proposed Solution

The CLI already handles multiple accounts cleanly via CLAUDE_CONFIG_DIR. The VSCode extension could adopt a similar approach:

  1. Account profiles — Allow users to register multiple accounts in the extension settings, each mapped to a separate config directory (e.g. ~/.claude, ~/.claude-acc2)
  2. Account switcher UI — Add a dropdown or button in the existing Account & Usage panel to switch the active account without requiring a full logout/login flow
  3. Quota awareness — Display remaining session and weekly quota for each saved account, so users know when to switch
  4. Respect CLAUDE_CONFIG_DIR — As a simpler short-term fix, the extension could read the CLAUDE_CONFIG_DIR environment variable from the workspace or shell environment, consistent with how the CLI already works

The last point (respecting CLAUDE_CONFIG_DIR) would be the lowest-effort change and would immediately unblock users who already manage multiple accounts via the terminal.

Alternative Solutions

_No response_

Priority

High - Significant impact on productivity

Feature Category

Configuration and settings

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗