microsoft / microsoft/pxt-microbit

Auto line wrap in editors (esp. Markdown)

Open
#3,266 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted monaco
Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

When writing text in the online editor, especially markdown, it's a little distracting that long lines scroll horizontally. This hinders writing, editing, and reading paragraphs.

It'd be nice if lines did a "soft wrap", comparable to the wordwrap behavior in VS Code. A long line would wrap around the screen so it could all be seen at once, but it would still be a single line. The start of lines would still show the line number in the left gutter. Line continuations due to the wrapping would have a blank in the line-number gutter.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the online editor entry point, especially the Markdown editing path, and compare its current horizontal scrolling with the requested VS Code-like soft wrapping. Done means long lines wrap within the editor, remain single lines, retain line numbers only at their starts, and show blank gutters for continuations.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.