[BUG] JetBrains plugin: diff view file not included in tsconfig.json — language services unavailable

Open 💬 0 comments Opened Jun 10, 2026 by mdumakurtas

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?

When Claude Code proposes a file edit in WebStorm, the diff viewer opens a temporary virtual file for the "Proposed" side. This file is not included in the project's tsconfig.json, so WebStorm's TypeScript language services
are unavailable — Jest globals (describe, it, expect) are shown as unresolved, and WebStorm suggests creating them as new functions instead of recognizing them from the @types/jest definitions.

What Should Happen?

The proposed diff file should inherit the project's tsconfig.json context so TypeScript language services work correctly in the diff viewer (imports, globals, type definitions should be recognized).

Error Messages/Logs

Corresponding file is not included in tsconfig.json (shown as a tooltip in the WebStorm diff viewer on the Proposed side)

Steps to Reproduce

  1. Open a .ts test file in WebStorm
  2. Ask Claude Code to make any edit to that file
  3. Observe the diff view — hover over any Jest global (describe, it, expect) on the right (Proposed) side
  4. Warning appears: "Corresponding file is not included in tsconfig.json"

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.153

Platform

Other

Operating System

macOS

Terminal/Shell

IntelliJ IDEA terminal

Additional Information

<img width="1510" height="823" alt="Image" src="https://github.com/user-attachments/assets/31f63116-f28b-4d98-8e7a-cb67ee6206ac" />

View original on GitHub ↗