[BUG] [JetBrains Plugin] Ctrl+Alt+K inserts code reference to all terminal tabs and steals focus

Resolved 💬 3 comments Opened Dec 4, 2025 by knaperek Closed Feb 6, 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?

When using the PyCharm plugin with multiple Claude Code terminal tabs open, pressing Ctrl+Alt+K to insert a source code reference exhibits incorrect behavior:

  • The code reference is inserted into ALL open Claude terminal tabs
  • Focus jumps to the first Claude terminal tab

What Should Happen?

  • The code reference should be inserted only into the currently focused Claude terminal
  • Focus should remain on that terminal tab

Error Messages/Logs

Steps to Reproduce

  1. Open PyCharm with the Claude Code plugin installed
  2. Open two or more Claude Code terminal tabs
  3. Focus on a terminal tab that is NOT the first one
  4. Press Ctrl+Alt+K to insert a code reference

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.0.58

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

PyCharm terminal

Additional Information

  • IDE: PyCharm 2025.2.4
  • Plugin version: 0.1.12-beta

View original on GitHub ↗

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