Skip to content

Support for non-integer minimap scales #84168

Closed as not planned
Closed as not planned

Description

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.

Activity

  1. added
    feature-request
    editor-minimap
    on Nov 7, 2019
  2. Hultner commented on Nov 12, 2019

    @Hultner

    It would be very nice to be able to actually make it smaller. I've disabled the minimap completely because it takes up too much space with a monitor in profile. I usually use it with renderCharacters: false, I suppose that would be cheaper to render.

  3. qwertie commented on Mar 19, 2020

    @qwertie

    Does this mean all characters are the same width? Ideally the minimap should support a different font than the main window: a font that is unusually legible at small sizes, and probably proportionally spaced.

    Some fonts like my own 2Small work well at very specific small sizes, and a non-integer font size (in points) may be necessary to hit the "sweet spot".

  4. qwertie commented on Mar 20, 2020

    @qwertie

    Here are a couple of other tiny fonts that could work: Tiny and .. er, the other Tiny. The second one seems not to be available for download, but it highlights the value to be gained from being able to render the minimap with some sort of support for LCD subpixels.

  5. added
    *out-of-scope
    on Dec 6, 2022
  6. vscodenpa commented on Dec 6, 2022

    @vscodenpa

    We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.

    If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

    Thanks for your understanding, and happy coding!

  7. MarioRicalde commented on Jul 15, 2023

    @MarioRicalde

    I would like to make the scale larger than 3, as I have an ultrawide display.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*out-of-scopeeditor-minimapfeature-request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions