Skip to content

Minimap: add scale (font size) option #21773

Closed

Description

It would be great if there was an option to adjust the font size of the minimap.

I have a high DPI monitor (1440p) and the minimap is smaller than I'd like:

minimap

Screenshot taken with these minimap settings:

{
  "editor.minimap.enabled": true,
  "editor.minimap.renderCharacters": false
}

Activity

  1. Kongsea commented on Mar 3, 2017

    @Kongsea

    Need this feature.

  2. hellonearthis commented on Mar 4, 2017

    @hellonearthis

    Need this because on a 4k the minimap looks like a nanomap

  3. added
    editor-minimap
    feature-request
    on Mar 8, 2017
  4. jaywehner commented on Jun 22, 2018

    @jaywehner

    Please add this! Old eyes need zoom :)

  5. mixtum commented on Nov 3, 2018

    @mixtum

    Same thing... Just too small in 4K display!

  6. whardier commented on Feb 5, 2019

    @whardier

    Too small on 4k display.. needs percentage option from main font size at the least.

  7. potatoqualitee commented on Mar 31, 2019

    @potatoqualitee

    These old eyes need some zoom too please!

  8. JonathanTroyer commented on May 24, 2019

    @JonathanTroyer

    I think it would be nice to be able to grab the edge of the minimap to resize it (much like we can resize panels). In fact, when I first saw the minimap, I tried to do just that.

  9. cw-mswanson commented on Jun 19, 2019

    @cw-mswanson

    Still needed in june 2019

  10. alexander-rieder commented on Sep 3, 2019

    @alexander-rieder

    i also need this....

  11. 0xE9DEADBEEF commented on Sep 5, 2019

    @0xE9DEADBEEF

    I have also a 4K laptop monitor and minimap is unusable in this resolution. Please add witdh feature.

  12. 1 remaining item

  13. 0xE9DEADBEEF commented on Oct 1, 2019

    @0xE9DEADBEEF

    I never develop anything in vscode project, and I have a poor experience in JavaScript, nevertheless I program for 10 years in several programming language.
    So my question: is someone interested to try to improve minimap for HighDP with me ?

  14. JonathanTroyer commented on Oct 1, 2019

    @JonathanTroyer

    @ckrippendorf (and others too, not wanting to single someone out 😁) I think the more appropriate response is to add a thumbs up 👍to the original issue and comment only when you have something to add. Oftentimes priorities are chosen based on which issues have the most thumbs up.

  15. potatoqualitee commented on Oct 15, 2019

    @potatoqualitee

    yesssssss thanks so much!

  16. JonathanTroyer commented on Nov 7, 2019

    @JonathanTroyer

    Not to beat a dead horse, but Connor Peet (@connor4312) is there any way to make this work with any decimal value? I find myself wanting to use 1.5.

  17. connor4312 commented on Nov 7, 2019

    @connor4312
    Member

    In the current implementation, the scale is actually the pixel width of each character in our minimap 'font'. Having them be constant values means that we don't need to deal with aliasing, we can copy prerendered pixel values straight from our buffer onto the canvas. Dealing with non-constant values would entail implementing some aliasing, which has a performance and complexity cost I didn't tackle in my initial PR. I'm open to investigating it some more though.

    Opened #84168 on it.

  18. cw-mswanson commented on Nov 7, 2019

    @cw-mswanson

    For extra wide screens, a size value of 4, 5, 6 or 7 would be helpful.

  19. locked and limited conversation to collaborators on Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

editor-minimapfeature-requeston-testplan

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions