[BUG] `ide:getDiagnostics` times out if file is not active in Jetbrains IDE
Resolved 💬 15 comments Opened Jul 6, 2025 by Janrupf Closed Feb 6, 2026
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [X] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.30 (Claude Code)
- Operating System: 6.12.34 1-NixOS
- Terminal: Alacritty
Bug Description
When claude attempts to call the ide:getDiagnostics MCP after connecting with /ide and the file it is requesting information for is not the file, that is the currently selected file, the tool times out with Timeout getting diagnostics.
Steps to Reproduce
- Open a Jetbrains IDE with Claude Code installed
- Connect with
/ide - Ask Claude to get diagnostic information about file xyz
- Watch it time out
- Open file xyz in the IDE and ask Claude again
- Watch it retrieve the information successfully
Expected Behavior
Diagnostics retrieval should not depend on the file being the actively selected file in the IDE.
Actual Behavior
Diagnostics retrieval only works when the file for which the information is being retrieved is open and selected.
This issue has 15 comments on GitHub. Read the full discussion on GitHub ↗