Feature request: JetBrains plugin access to decompiled classes / external library symbols via PSI

Resolved 💬 2 comments Opened Feb 26, 2026 by NikKosmo Closed Feb 26, 2026

Feature Request

Summary: The Claude Code JetBrains plugin cannot access decompiled classes or symbols from external JAR dependencies. This is a meaningful capability gap, especially for large Java/Kotlin projects that depend on private internal libraries.

Current Behavior

The Claude Code JetBrains plugin is a terminal-bridge architecture — it runs the Claude Code CLI and connects via the JetBrains MCP server. The official MCP server documentation explicitly states:

"Searches only files within the project directory, excluding libraries and external dependencies."

Claude Code therefore cannot:

  • Resolve methods/fields of classes defined in dependency JARs
  • Understand the API surface of private internal libraries
  • Navigate to or reason about decompiled class definitions

Comparison: Gemini Code Assist

Gemini Code Assist's JetBrains plugin is a native IntelliJ plugin with direct access to IntelliJ's PSI (Program Structure Interface). This gives it access to every class in the classpath, including those decompiled from JARs via Fernflower. Notably, the Gemini CLI (terminal-bridged, like Claude Code) has the same limitation — the gap only closes with the native plugin.

Impact

For Java/Kotlin projects using private shared libraries (e.g., internal DTOs passed between microservices, internal SDK JARs not published to Maven Central), Claude Code gives incorrect or incomplete answers about types, method signatures, and class hierarchies — because it simply cannot see those classes.

Requested Solution

One of:

  1. Expose library sources via the JetBrains MCP server — JetBrains is already tracking this from their side: IJPL-217441: MCP Server: Tool to get contents of the Library sources. When that tool ships, Claude Code could consume it.
  2. Build a native IntelliJ plugin with PSI access, similar to Gemini Code Assist's architecture.

Option 1 is likely lower effort and would close the gap for all AI tools simultaneously.

Environment

  • Claude Code CLI + JetBrains plugin (beta)
  • IntelliJ IDEA / PyCharm
  • Java projects with private JAR dependencies

View original on GitHub ↗

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