[FEATURE] collapse long pastes into an attachment chip in the desktop app (Code tab)

Status Open
Maintainer reply None cached
Activity 0 comments · opened Sep 25, 2026

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

Summary

In the Claude desktop app (Code tab), long pasted text is always inserted inline in the prompt box. I'd like long pastes to collapse into a compact chip, similar to how Cursor shows a Clipboard (688 lines) chip (screenshot attached), so the prompt stays readable.

Use case

I work on frontend tasks and often paste several long CSS/JSON exports from Figma in a single prompt (desktop CSS, mobile CSS, component properties…), each preceded by a short label. Inline, the prompt becomes very long and it's hard to follow its structure while I'm writing it.

Current behavior

  • Long pastes are always inserted inline. I couldn't find any setting for this in the app preferences or in settings.json.
  • The workaround (saving each paste to a file and attaching it) works, but it's slow for something I do many times a day.

-

Environment

  • Claude desktop app (Code tab), macOS
  • App version: <!-- complete -->

<img width="298" height="54" alt="Image" src="https://github.com/user-attachments/assets/17c6624f-5329-4986-9568-0de102b06b5e" />

Proposed Solution

  1. Collapse pastes above a certain size into a chip that can be previewed or expanded before sending.
  2. Make the threshold configurable (lines or characters), or add a shortcut to "paste as attachment" on demand.
  3. Let the user rename a chip (e.g. error-desktop.css) or show its first line as a preview, so several pastes in the same prompt are easy to tell apart.

Alternative Solutions

_No response_

Priority

Medium - Would be very helpful

Feature Category

Other

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗