microsoft / microsoft/monaco-editor
[Feature Request] Ability to remove the limit on marker lines and hovers
Nobody has claimed this yet.
- 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
I've a read-only diff editor with renderValidationDecorations set manually to on. This is because markers
- don't add any width to existing text
- can be hovered over
- can be copied from
Making them very useful for showing extra info for what I'm using Monaco for: a difference checker between an extant bytecode file and the bytecode generated by some compiled source code.
With large bytecode files, as seen in the image, I quickly hit the 500 marker limit, disabling the marker underline or the ability to hover to see a quick description of the info I want.
#2042 previously asked about this, but renderValidationDecorations has been added since that issue, so I'd like to revisit discussion in this area. Perhaps there is a better mechanism to achieve what I'm looking for, but Hover Providers don't decorate the text and always interpret the strings given to them as markdown rather than verbatim.
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or playground entry points are named. Start by reviewing issue #2042 and the current behavior of renderValidationDecorations, then trace how marker limits affect decoration and hover behavior; done should define and verify an agreed way to handle more than 500 markers without losing the requested information.
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
- 25/100