CodeGlance
CodeGlance copied to clipboard
Allow vertical downscaling so that the full map fits the available height
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.
Whats the use case here? really long files or really short ones?
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.
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.
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.
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.