microsoft / microsoft/monaco-editor
[Feature Request] Minimap background color improvements
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
The minimap is essential in helping in navigation, especially to know the location at the code. Why not use colours to segment functions (only functions) like so: It makes the code much easier to read and digest.
Compare the left column to the right column:
My argument is: Just by glancing at the left, I know my location exactly within the code, and this gives me the following knowledge/abilities. For example:
- I can see the file has 5 functions, and that I am at the beginning of the 4th function.
- I can easily jump to the beginning of the current function, say to modify a parameter.
- A glance at the map, I can see the size of each function (from the segmentations), and I can tell exactly where I am and which part of code I am looking at.
- I can tell the file has two almost similar size functions (could be overrides), it has 3 other main bigger functions. So I can see the sizes of the functions and their count. Glancing at the map and the file name (the tab) helps me remember what this file does...etc. etc.
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
No implementation file, test, or non-empty Monaco Editor Playground is provided. Start by locating the minimap rendering and existing theme or color configuration, then clarify how functions should be detected and segmented; done means the minimap visibly separates function regions without disrupting navigation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100