[BUG] Pasting snips or simple plain text into Claude code chat causes VS code to freeze and requires a restart

Status Open
Reported on v2.1.220
Maintainer reply None cached
Activity 0 comments · opened Jul 28, 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?

<img width="1818" height="910" alt="Image" src="https://github.com/user-attachments/assets/20c6c12c-a9b7-4c7a-82d9-25c598b19a70" />

even pasting "Hello" causes a freeze and restart

What Should Happen?

I should be able to paste text, or images

Error Messages/Logs

Steps to Reproduce

Open Caude code extension. Paste text into the chat window

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.220

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗