claude-code - 💡(How to fix) Fix [FEATURE] Add max line-length option for chat responses in VS Code extension [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48171Fetched 2026-04-15 06:31:09
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Root Cause

I don't want to narrow the panel, because the panel width is tuned for the code context the assistant surfaces. I just want the prose inside it to wrap at a comfortable measure.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

The Claude Code VS Code extension renders chat responses at the full width of the chat panel. On wide monitors, or when the panel is docked to fill the editor area, lines of prose stretch well past a comfortable reading measure (often 120+ characters).

Long prose lines are harder to read and track across than code, yet VS Code already gives users line-length affordances for code documents (editor.wordWrapColumn, editor.rulers) — the chat panel has no equivalent. Users who dock the chat panel wide for code visibility are forced to choose between panel width and readable response width.

Proposed Solution

Add a setting that caps the rendered line length of assistant responses independently of the panel's viewport width.

Suggested:

claudeCode.chat.maxLineLength (number; default e.g. 80, or 0 for unlimited) Responses wrap at that column regardless of how wide the chat panel is, with the remaining horizontal space left as margin. This mirrors the precedent VS Code already sets for code (editor.wordWrapColumn) and brings the same reading-comfort affordance to conversational text.

Alternative Solutions

Apply a max-width (in ch units) to the response container via CSS, with no user-facing setting — pick a sensible default (e.g. 80ch) and ship it as the built-in behavior. Simpler to implement, no configuration surface, but removes user control.

A middle-ground option: ship a sensible default max-width and expose a single toggle (claudeCode.chat.constrainLineLength: boolean) rather than a numeric column setting.

Priority

High - Significant impact on productivity

Feature Category

Configuration and settings

Use Case Example

I dock the Claude Code chat panel on the right side of a 34" ultrawide monitor, sized wide enough to comfortably show code diffs and file trees the assistant references. When the assistant responds with a few paragraphs of prose — explaining an approach, summarizing a diff, walking through a decision — each line runs 140–180 characters wide. My eyes have to track much farther between line breaks than in any editor buffer (which I have capped at 100), and reading fatigue sets in noticeably faster than reading the same content in a markdown preview or a properly-styled doc.

I don't want to narrow the panel, because the panel width is tuned for the code context the assistant surfaces. I just want the prose inside it to wrap at a comfortable measure.

Additional Context

VS Code precedent: editor.wordWrap, editor.wordWrapColumn, editor.rulers — all acknowledge that line length is a reading-comfort concern users want to control. Typography research consistently puts the comfortable reading measure at roughly 45–75 characters per line for prose; 80 is already generous. Markdown preview in VS Code (and most docs tooling) applies a max-width to rendered content for this reason. This is purely a rendering concern — no change to how responses are generated or stored.

extent analysis

TL;DR

Implement a setting to cap the rendered line length of assistant responses in the Claude Code VS Code extension.

Guidance

  • Introduce a new setting, such as claudeCode.chat.maxLineLength, to allow users to control the maximum line length of assistant responses.
  • Consider implementing a default value for the setting, such as 80 characters, to provide a comfortable reading experience for most users.
  • As an alternative, apply a max-width to the response container via CSS, using a sensible default value (e.g., 80ch) to simplify implementation.
  • Evaluate the trade-off between user control and simplicity when deciding between a numeric setting and a toggle (e.g., claudeCode.chat.constrainLineLength).

Example

No code snippet is provided, as the issue focuses on the feature request and proposed solutions rather than specific implementation details.

Notes

The solution should prioritize user control and reading comfort, while considering the trade-offs between implementation simplicity and flexibility.

Recommendation

Apply a workaround by introducing a new setting, such as claudeCode.chat.maxLineLength, to allow users to control the maximum line length of assistant responses, providing a comfortable reading experience and aligning with VS Code's existing line-length affordances for code documents.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [FEATURE] Add max line-length option for chat responses in VS Code extension [1 participants]