VSCode extension consumes excessive tokens in background
Resolved 💬 4 comments Opened Jan 21, 2026 by sabrinatlb Closed Feb 27, 2026
Description
The VSCode extension appears to consume a significant amount of tokens in the background, even without any user interaction.
Steps to Reproduce
- Open VSCode with Claude Code extension enabled
- Do nothing (no prompts, no interactions)
- Observe usage quota increasing significantly
Observed Behavior
- Usage went from 51% to 71% within minutes without any user input
- Simply opening/switching files seems to trigger token consumption
- The
<ide_opened_file>context is sent automatically when files are opened
Expected Behavior
The extension should not consume tokens unless the user actively interacts with it.
Environment
- Platform: macOS (Darwin 24.3.0)
- Extension: Claude Code VSCode extension
Impact
This makes the free tier / rate-limited plans nearly unusable as the quota is consumed passively.
Suggested Solutions
- Add an option to disable automatic context sending
- Only send file context when the user explicitly asks a question
- Add a "pause" button to stop background token consumption
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗