VS Code chat: filter toggles and left/right justify for user vs AI messages

Resolved 💬 3 comments Opened Mar 24, 2026 by nedlern Closed Apr 23, 2026

Problem

The VS Code chat panel is a document-style text stream. In long sessions, user messages, AI responses, and tool output all blend together in one scrollable wall of text. Finding your own messages or the AI's answers requires extensive scrolling.

Proposed solution

Redesign the VS Code chat panel as a messaging interface (like iMessage or WhatsApp):

Message bubbles

  • Each user message and AI response is a discrete, visually distinct block
  • User messages left-aligned with one background color
  • AI messages right-aligned with a different background color
  • Clear visual separation between each exchange

Tool output as collapsible detail

  • Tool calls (grep, read, bash, edit) collapse inside the AI's message bubble
  • Expand on click to see details
  • Collapsed by default after completion — only the AI's actual text response is visible

Filter toggles

  • Two buttons at the top: "User" and "AI"
  • Toggle off either side to see just your messages or just Claude's responses
  • Makes it easy to scan what you asked or what Claude answered across a long session

Why a messaging UI

The messaging pattern solves multiple problems at once: visual distinction (bubbles), scroll management (collapsed tool output), and navigation (filters). It's a proven UX pattern that billions of people already understand — no learning curve.

This is distinct from color/highlight requests (#34269, #29974) — those add subtle visual cues to the existing document stream. This is a fundamental layout change from document-stream to message-thread.

🤖 Generated with Claude Code

View original on GitHub ↗

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