The viewport can bend a line without editing it.
VS Code calls this word wrap. The editor can wrap at the viewport or at a configured column. Cut and Copy still act on the whole logical line. Home and End may need a second press to cross the visual segment and reach the logical boundary.[2]
That split matters in logs, generated files, Markdown, and narrow agent panes. A visual row can look like a new source line even though the file has no newline there.
Wrap for the reader. Preserve the file for the toolchain.
VS Code added a witness.
VS Code 1.139 added word-wrap indicators. An arrow at the wrap column marks a line that continues on the next visual row.[1] The mark is small, but it answers a useful question without moving the cursor or opening a diff.
The release does not claim that one wrap mode fits every file. The existing editor setting still supports off, viewport, and column-based policies. The new indicator makes the chosen policy easier to read.
Use a bounded mode when prose shares the cockpit.
Zed exposes the same decision with different names. Its soft_wrap setting supports none, editor_width, and bounded. Bounded mode uses the smaller of the editor width and preferred_line_length. Zed also has wrap guides for the preferred column.[3]
Bounded wrapping works well for Markdown, commit messages, and review notes. The text stays readable in a wide pane and still reflows when the pane narrows. Source code may need a different policy because alignment and side-by-side diffs can depend on horizontal space.
Reflow is also an access feature.
WCAG 2.2 explains why reflow matters outside editors. At 400 percent zoom, most vertical-scrolling content should fit a width equivalent to 320 CSS pixels without requiring two-dimensional scrolling. Long lines force readers to pan back and forth and can make them lose their place.[4]
An editor is not a web article, and code can need horizontal layout. The reading cost is still real. Give prose and logs a wrap policy. Keep a visible guide for code. Test both with larger text and a narrow split.