microsoft / microsoft/monaco-editor
Support for Gutters (custom data / visualization per-line)
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 am evaluating if we can use Monaco as a replacement for the editor in our app and something that I haven't been able to determine the feasibility of is adding per-line data or custom visualizations. I attached an example of such a visualization below. Decorations aren't quite the right fit, but I'm wondering if there is a way to do this or not.
Other edits have this kind of option and it is very useful for customization, for example: https://codemirror.net/examples/gutter/
Thanks!
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
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
The issue names no source file, test, or playground entry point. Start by reviewing Monaco's decoration APIs and the linked CodeMirror gutter example; first establish the supported design and acceptance criteria for per-line data or custom visualizations.
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