[BUG] Files open in Claude Code editor group instead of the active/primary editor group

Resolved 💬 2 comments Opened Mar 9, 2026 by JoPopsII Closed Mar 9, 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 Claude Code extension is open in a side-by-side editor group (with lock enabled), clicking any file in the Explorer opens it in the Claude Code editor group instead of the primary (left) editor group — even if the file is already open there. This creates duplicate tabs.

What Should Happen?

Clicking a file in Explorer should open/reveal it in the primary editor group, not in the locked Claude Code group.

Error Messages/Logs

Steps to Reproduce

  1. Open Cursor with Remote SSH connection
  2. Open Claude Code extension — it opens in a side-by-side editor group on the right
  3. Lock the Claude Code editor group
  4. Open any file (e.g. config.py) in the left editor group
  5. Click another file in the Explorer
  6. The file opens in the right (Claude Code) editor group instead of the left one

Claude Model

Opus 4.6

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.71 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Cursor IDE (Remote SSH to Linux)

Additional Information

_No response_

View original on GitHub ↗

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