How to disable zoom on Ctrl+scroll in Visual Studio 2010?

Visual Studio-2010Visual StudioZoomingShortcutIde Customization

Visual Studio-2010 Problem Overview


Visual Studio 2010 adds a zoom setting on the bottom left of the text editor (to the left of the horizontal scroll bar) and also adopts the Ctrl+mouse scroll idiom for zooming in and out.

The former is fine, but I dislike the latter as I am occasionally still holding control when I start scrolling my source code (which results in the text size radically changing and completely throwing me off whatever I was doing).

How do I disable it?

Visual Studio-2010 Solutions


Solution 1 - Visual Studio-2010

Go to Tools->Extension manager, and search the online gallery for "wheel". Download "Disable Mouse Wheel Zoom"

enter image description here

Or use this direct link: Disable Mouse Wheel Zoom.

Solution 2 - Visual Studio-2010

It is possible that Visual Studio 2010 will get into a state where ordinary use of the mouse wheel (ie without Ctrl pressed) results in text increasing or decreasing in size.

Use ctrl + scroll on the page to recover from this state.

Solution 3 - Visual Studio-2010

I don't believe there is a way to do this the editor through the exposed options. However Noah Richards, a visual studio platform developer, wrote a Visual Studio extension that disables the mouse scroll zooming.

Solution 4 - Visual Studio-2010

This is a problem throughout Windows, not just in Visual Studio. To disable Ctrl-Scroll zooming behavior throughout Windows, you can use AutoHotKey as described in this answer:

^WheelDown::return
^WheelUp::return

This just reprograms AutoHotKey to do nothing on Ctrl-Scroll.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionLawrence JohnstonView Question on Stackoverflow
Solution 1 - Visual Studio-2010drharrisView Answer on Stackoverflow
Solution 2 - Visual Studio-2010subbuView Answer on Stackoverflow
Solution 3 - Visual Studio-2010JaredParView Answer on Stackoverflow
Solution 4 - Visual Studio-2010Herb CaudillView Answer on Stackoverflow