CodeGlance icon indicating copy to clipboard operation
CodeGlance copied to clipboard

Allow vertical downscaling so that the full map fits the available height

Open brechtm opened this issue 11 years ago • 5 comments

If find this a very useful feature in similar plugins for Visual Studio. It enables one to easily see what part of a file you're currently looking at.

brechtm avatar Feb 05 '14 22:02 brechtm

Whats the use case here? really long files or really short ones?

vektah avatar Feb 27 '14 10:02 vektah

Really long files. The idea is that the minimap itself is not scrolled (just like a regular scrollbar is not scrolled). The minimap does not need to be stretched to fill the full vertical space for short files.

brechtm avatar Feb 27 '14 10:02 brechtm

This a super useful piece of functionality. If you have ever used a map scroll bar in "full map mode", you will know that after a short time you can navigate the code file much faster because you intuitively understand the SHAPE of the code in your file and so moving to the section you intend to is instant.

meganaut avatar Mar 06 '17 22:03 meganaut

I just installed CodeGlance and noticed this right after trying that. It also causes that scroll bar position does not match minimap position. It is noticeable especially for errors which are marked on scrollbar but are not actually at the corresponding line position on minimap.

Skylonxe avatar Jun 25 '20 07:06 Skylonxe

This would be really nice to have, possibly as an option.

Having the minimap scroll kind of defeats the purpose of giving an idea of current position within the file.

ondrejchmelar avatar Mar 08 '23 10:03 ondrejchmelar