microsoft / microsoft/monaco-editor

[Feature Request] Support word wrapping only selected ranges, or not wrapping selected ranges

Open
#3,914 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request
Dominant language
JavaScript
Stars
46.8k
Forks
4.1k
Avg merge
17h 58m
Merged PRs (30d)
1

Description

Context
  • This issue is not a bug report. (please use a different template for reporting a bug)
  • This issue is not a duplicate of an existing issue. (please use the search to find existing issues)
Description

When using Monaco to edit Markdown it's often desirable to turn on word wrapping, but there are scenarios where word wrapping is never useful, for example you basically never want to word-wrap a Markdown table because it would be completely unreadable.

So what one would really want is the ability to wrap anything except Markdown tables, for example, but that's not currently implementable because word-wrapping it's an all or nothing kind of setting.

Monaco Editor Playground Link

No response

Monaco Editor Playground Code

No response

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

No source files, tests, or entry points are named in the issue. Start by locating Monaco's existing word-wrapping configuration and range-selection behavior, then define the range semantics and tests needed to demonstrate wrapping selected or excluded ranges.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.