Visual studio code will auto with the code map bar. Will add this to minimap. And I need to adjust the "line scale" manually to make it looks clear in this situation : most of the lines are short, only few line are very long. Finding a way to do autoscale.
If you are editing a file that most of the lines are very short, only few lines are very long. Minimap use the exact line length to render the map, so it doesn't look very clear. See below. But you can manually adjust the scale factor by right clicking the
setting menu on the minimap.