In Visual Studio we can change the display of the vertical scroll bar to map mode which will display lines of code from the current file in miniature. We can also enable map mode to display a larger preview when we mouse over a particular section of code.
Map mode is useful to keep track of where everything is particularly in large files. We can see an example of what the code map and the larger code preview looks like below…
To enable map mode on the VS vertical scrollbar select the ‘Use map mode for vertical scroll bar’ radio button is selected as shown below…