[BUG] Claude Button Disappears When Files Close
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?
Installed the Claude Code for VSCode extension in the current VSCode IDE (v1.122.1).
With no files open, the Claude button is NOT available to press.
I have to actively open a file just to get the Claude button to present, so I can press it.
Meaning: If I have my solution open, without an actual open file in the IDE, then I am NOT able to open the Claude window, as the button is not available.
What Should Happen?
The Claude button should be available, regardless of an open file in the IDE.
Error Messages/Logs
No relevant error messages.
Steps to Reproduce
Open VSCode.
Note the Claude button is accessible while the Welcome page is open.
Close the Welcome page.
Note the Claude button is no longer accessible once the Welcome page is closed.
The same goes for any file open in the IDE.
Once the last file is closed, the Claude button is no longer accessible.
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.170
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_