Skip to content

[Feature Request] Minimap background color improvements #4936

@elias-Mimetrik

Description

@elias-Mimetrik

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:

Image

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:

  1. I can see the file has 5 functions, and that I am at the beginning of the 4th function.
  2. I can easily jump to the beginning of the current function, say to modify a parameter.
  3. 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.
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions