[FEATURE]
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Title: JetBrains (PhpStorm) plugin: Claude conversation/session disappears when switching git branch
Environment
IDE: PhpStorm [versienummer, bv. 2026.1]
Claude Code JetBrains plugin version: [versienummer]
OS: Windows 11
Claude Code CLI version (if known): [run claude --version]
Description When I switch git branches inside PhpStorm while a Claude Code session is open, the visible conversation disappears/resets in the plugin UI, as if the session were tied to the branch rather than to the project/working directory.
Steps to reproduce
Open a project in PhpStorm with the Claude Code plugin, start a conversation.
Switch to a different git branch (e.g. via the IDE's branch switcher).
Observe: the conversation panel no longer shows the previous session.
Expected behavior The conversation should persist (or at least remain easily resumable) across a branch switch within the same project/working directory, since the underlying session data appears to still exist on disk.
Actual behavior The session appears to vanish from the UI on branch switch.
Proposed Solution
conversations stay always in tabs
Alternative Solutions
_No response_
Priority
Critical - Blocking my work
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_