[BUG] VS Code Extension - Current prompt & file visibility do not persist session switches

Resolved 💬 1 comment Opened Apr 30, 2026 by perrelet Closed May 31, 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?

In VS Code extension, opening the Session History and switching threads:

  1. Erases the current prompt (when not submitted)
  2. Resets the "showing Claude your current file selection" toggle

What Should Happen?

  • Draft prompts should survive session switches. Many workflows require checking on another session or approving an action in another session. The user doesn't expect to lose their prompt while switching sessions.
  • "Show Claude your current file selection" is a preference that should persist. Needing to continually turn this off is tiring for users that explicitly tell Claude which files to read (and not read).

Steps to Reproduce

  1. Open VS code extension and draft a prompt
  2. Click Session History and change session
  3. Return to the session in 1 - the prompt is gone

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.119 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗