Visual Studio (2010) Mouse wheel sometimes zooms instead of scrolls - visual-studio-2010

I don't know what happens, but every once in a while, when I want to scroll down with the mouse wheel, the IDE zooms instead of scrolls. Other than closing and re-opening Visual Studio, how can I switch back the functionality to make scroll instead of zoom. (I'm NOT holding down the CNTL key.)

Try pressing Ctrl Shift - it works in VS 2015.

Related

Keyboard shortcut for selecting text editor in Visual Studio 2017

I find myself having to reach for my mouse a lot to re-select my code after running it.
You can use ctrl+tab
This brings up all current tabs, but just tapping it will bring you to your most recent tab and cursor position.

Scroll bug in visual studio 2012?

So the GroupBox i am trying to place is larger than the screen real state of the designer in visual studio.
Hence i scroll to make room however after scrolling whenever i try to re-size the groupbox the designer immediately scrolls back to the center of the control making it immpossible for me to re-size the control.
Is this some sort of bug or am i doing something wrong it was working fine previously and suddenly i have this problem now tried closing and reopening VS but the problem is still there.
I Should probably add that i am using telerik's radforms.

Zooming in the visual studio form designer

I'm using the Visual Studio 2013 form designer to edit a form. The size of the form in the designer window is too big so I want to zoom out.
In applications like Photoshop or Blend I could (among other things) use the keyboard shortcut Ctrl-0 to fit the design to the screen.
In Visual Studio how do I zoom out in the form design window?
The Windows Forms designer doesn't zoom. The WPF one does because it's vector based, but WinForms is pixel based you don't get the zooming.
If you've got multiple monitors you can drag the designer to a second screen and work with it that way, or you can press Alt+Shift+Enter to toggle full screen and work with it that way.
in VS 2022 I've been doing some C# and had the same problem with the default grid element (the form) being zoomed way out in the Designer, so it looked extremely small, and the controls were super tiny. I found the following Microsoft page that explains how to change the zoom feature (yes, Visual Studio 2022 has a zoom feature). https://learn.microsoft.com/en-us/dotnet/desktop/winforms/controls/how-to-set-grid-options-for-all-windows-forms?view=netframeworkdesktop-4.8
So, I went into the Tools menu, down to Options, and then in the Options window I scrolled down to the XAML Designer General option. I changed the "Zoom by using" setting to "Mouse Wheel". Using "Ctrl + Mouse Wheel" didn't work for me. And I changed the "Default Zoom Setting" to "Last Used". I closed VS and opened it again. "Last Used" didn't work for me. So, I changed the "Default Zoom Setting" back to "Fit all". Closed VS again (you need to do this for the new settings to take effect). Opened VS again. And everything worked. I am able to use the mouse wheel to zoom in and out of the form. The settings I'm using are "Mouse Wheel" and "Fit All".

Visual Studio 2010 Find Menu Steals Focus - Can't Wheel Scroll

In Visual Studio 2010, if you press ctrl+f, the find menu will have focus and you will not be able to use the mouse scroll wheel to scroll in the main window. Is there a way to adjust this to allow scrolling?
In Visual Studio 2008 if you press ctrl+f, the find menu will have focus but you can still scroll in the main window. This is the behavior I want in 2k10.
As far as I can find there is no setting in VS that allows that. What I've done is added the Productivity Power Tools extension
http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef/ .
Its find extension takes over for ctrl+f and allows me to scroll the text editor window even when the focus is on the find dialog.

How do you reset the Zoom in Visual Studio 2010 and above

How do you reset the "Zoom" in VS 2010 and above back to normal?
CTRL+SCROLL WHEEL lets you zoom in/out with Visual Studio 2010/2012/2013/2015/2017, but I'd like to get back to the initial 100%.
There is a select box for this at the bottom left of the editor window - choose 100% ;)
I was unable to find a keyboard shortcut for it, though zooming in and out can be done using Ctrl + > and Ctrl + <.
Please note the horizontal scroll bar must be turned on to see the zoom level.
Tools / Options / Text Editor / All Languages / Scroll Bars
Another option (Visual Studio 2013/2015) is to use Ctrl with the mouse wheel (up to zoom in, down to zoom out).
There's a zoom control in the bottom-left of the code editor. You can pick 100% from there, or type it by hand.
In Visual Studio 2015/2017/2019 (easy to miss if using a dark theme):
You can try VSCommands extension from Visual Studio Gallery, it adds several new features around zooming in VS2010
Visual Studio 2017 has an extension "Reset Zoom" by Mads Kristensen and it adds a keyboard shortcut (Ctrl+0, Ctrl+0).
https://marketplace.visualstudio.com/items?itemName=MadsKristensen.ResetZoom
By default, the keyboard shortcut is Ctrl+0,Ctrl+0 but can be changed to be whatever you like.
I also have R# and the default shortcut did not show up for me but manually applying it worked.
Go to Tools -> Options -> Environment -> Keyboard and look for the command View.ZoomReset to change the keyboard shortcut.
In Visual Studio Ultimate 2013, at bottom-left from screen:
If you are using latest version you can also resize the content in visual studio by selecting
ctrl+ will zoom in and ctrl- will zoom out.
to do manually goto
preference->settings
and UserSetting file will be opened in the editor change.For default zoom
window.zoomlevel:0
and to zoom in
window.zoomlevel:1,2,3......

Resources