[BUG] [VS Code Extension] Restore context window usage percentage indicator
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Description
The VS Code extension previously displayed a context window usage percentage (e.g., "X% context used") beneath the prompt when usage exceeded ~50%. This indicator no longer appears in recent versions.
Why it's useful
Knowing how much context has been consumed helps users decide when to start a new conversation or compact context, especially during long multi-step sessions.
Current behavior
No context usage indicator is shown in the VS Code extension UI.
Notes
The CLI supports a statusLine setting that can display this, but it does not work in the VS Code extension.
This was working in a prior version of the extension but stopped at some point (exact version unknown).
What Should Happen?
A context usage percentage should be displayed, as it was in earlier versions. Ideally this would be on by default or toggleable via a setting.
Error Messages/Logs
Steps to Reproduce
Use Claude in VS Code. Note that no context usage indicator is shown in the VS Code extension UI.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.83
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗