[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

  1. Open a Jetbrains IDE with Claude Code installed
  2. Connect with /ide
  3. Ask Claude to get diagnostic information about file xyz
  4. Watch it time out
  5. Open file xyz in the IDE and ask Claude again
  6. 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.

View original on GitHub ↗

This issue has 15 comments on GitHub. Read the full discussion on GitHub ↗