claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] VSCode Extension: Task tool output opens as plaintext instead of rendered markdown

Open garrettmoss opened this issue 1 year ago • 1 comments

Environment

  • Platform: VSCode Extension
  • Claude Code version: 2.0.5
  • Operating System: macOS 15.6.1
  • IDE: VSCode

Bug Description

When a subagent (Task tool) produces output containing markdown, the collapsed preview in the Claude Code chat window correctly renders the markdown with formatting. However, when clicking to expand the output, VSCode opens it in a new tab as plaintext, losing all markdown formatting. There is no option to view the expanded output with markdown rendering.

Steps to Reproduce

  1. Use the Task tool to spawn a subagent that produces markdown output
  2. Observe the collapsed output in the chat window - markdown is rendered nicely
  3. Click to expand the output
  4. A new VSCode tab opens (titled something like "Task tool output (rando-#s&letters)")
  5. The tab displays the content as plaintext instead of rendered markdown

Expected Behavior

One of the following:

  • The expanded view should render markdown like the collapsed preview does
  • There should be an "expand in place" option that shows the full rendered markdown within the chat window
  • The VSCode tab should open as a markdown preview rather than plaintext

Actual Behavior

  • Collapsed preview: Markdown is properly rendered ✓
  • Expanded in new tab: Only plaintext display, no markdown rendering ✗
  • No way to see the expanded, formatted version

Additional Context

This issue likely generalizes to all markdown or otherwise previewable output from tools, not just Task tool output. The UX is inconsistent - users see nice formatting in the preview but lose it when they want to read the full content.

garrettmoss avatar Nov 27 '25 23:11 garrettmoss

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 28 '25 10:12 github-actions[bot]

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] avatar Jan 27 '26 10:01 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Feb 03 '26 14:02 github-actions[bot]