Wednesday, September 19, 2018

Enable code preview with the Visual Studio enhanced scroll bar

This is the first time that I saw code preview through scrollbar in Visual Studio. I have use most of the Visual Studio IDE starting from Visual Studio 2002 and scrolling of code files done using the classic scrollbar.
Starting from Visual Studio 2013, an enhanced scrollbar feature is enabled but I was not aware of it till now. Recently I saw below code preview features through a wide scrollbar:
Enabling Visual Studio scrollbar code preview mode
By default, this feature is not enabled so that I have not used this cool feature before. Actually, it requires to switch the scrollbar mode and below are the steps to switch scrollbar mode:
  1. Open option using Tools menu and select “Options”
  2. In the options dialog select the Text Editor | All Languages | Scroll Bars node from left side menu
  3. Now change the scrollbar behavior to map mode and check the “Show Preview Tooltip” checkbox as shown in below image.
    Visual Studio enhanced scrollbar
I found it a cool feature which enables the developer to view the see the code in tool-tip by hovering on the scrollbar without scrolling down to the bottom of the code file.

You can find detailed information at Visual Studio scroll bar customization documentation.

1 comment :

  1. KDFS - Online casino and poker - Keraton
    Keraton Online Casino & Poker. 카지노사이트 Online febcasino casino & poker with the best bonuses and promotions. 온카지노 Discover more with KDFS. KADANPINDAR.COM.