microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
715 stars 589 forks source link

Auto line wrap in editors (esp. Markdown) #3266

Open bsiever opened 4 years ago

bsiever commented 4 years ago

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.

abchatra commented 4 years ago

Are you discussing about the text editor (javascript or python) @bsiever ?

bsiever commented 4 years ago

@abchatra Editing files via the "Explorer", which is used when creating tutorials or the README.md for Extensions. Does that help?

abchatra commented 3 years ago

Request for word wrap in monaco.