164
votes

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?

4
+1. This control + mouse scroll feature is horrible. What were they thinking?Souper
@GeorgiiOleinikov, that's very deep.Kirk Woll
If this isn't the stupidest feature in Visual Studio I don't know what is.Rosdi Kasim
It's a "great new feature", apparently. :)Mark Whitaker
It's good to see i'm not the only one who hates this featuretenderloin

4 Answers

227
votes

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.

46
votes

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.

10
votes

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.

8
votes

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.