.NET Power Tip 17: Visual Studio Scroll Bar Map Mode

There is an interesting function in Visual Studio hidden in the options menu: Scroll Bar Map Mode.

Going to TOOLS –> OPTIONS –> TEXT EDITOR –> ALL LANGUAGES –> SCROLL BARS the scroll bar style can be changed to map mode.

There is a shortcut to activate the map mode: Just go to the Quick Launch Window in the upper right corner and enter “map mode”. It will take you directly to the required setting.

In map mode, the scroll bar shows a picture of the code file:

Abb5_ScrollBarMapMode

This view is very convenient to know where you are at and to see what else you must expect in the rest of the code file that is currently not visible. In addition, you will find markers for errors, search results and warnings.