Vscode: Minimap: add scale (font size) option

Created on 2 Mar 2017  路  17Comments  路  Source: microsoft/vscode

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
}
editor-minimap feature-request on-testplan

Most helpful comment

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

All 17 comments

Need this feature.

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

Please add this! Old eyes need zoom :)

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

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

These old eyes need some zoom too please!

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.

Still needed in june 2019

i also need this....

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

I don't know if just saying 100 times "I want this feature" will increase the possibility of implementation, but....I also want to have this feature! :-D

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 ?

@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.

yesssssss thanks so much!

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

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 https://github.com/microsoft/vscode/issues/84168 on it.

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TurkeyMan picture TurkeyMan  路  411Comments

jez9999 picture jez9999  路  234Comments

Tyriar picture Tyriar  路  200Comments

ghost picture ghost  路  234Comments

ozsay picture ozsay  路  247Comments