[BUG] Claude steals focus on startup in vscode
Status Open
Reported on v2.1.186
Maintainer reply None cached
Activity 2 comments · opened Jun 29, 2026
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?
Whenever I open vscode I am ready to start typing in the terminal or editor.
What happens though is a few seconds after everything else has loaded, the claude extension finally loads and opens its chat.
When it does this it moves the focused input from wherever I am to the claude box, which often ends up in me tpying half a command into claude.
What Should Happen?
It should not focus its input without explicit user interaction
Error Messages/Logs
Steps to Reproduce
- Open vscode
- Start typing in terminal
- Notice that claude opens and steals focus
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.186
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗