268

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%.

Michele La Ferla
  • 6,775
  • 11
  • 53
  • 79
Brett Veenstra
  • 47,674
  • 18
  • 70
  • 86
  • 3
    It's Ctrl+0 in most browsers... worth a shot – Sean Bright Sep 22 '10 at 15:28
  • 9
    I tried the same Ctrl+0 approach the first time this happened to me. Since that doesn't work here and interacting with that zoom section is horribly slow, on machines where I don't ever need to present to a room full of people (read: all of them), I installed the ["Disable Mouse Wheel Zoom"](http://visualstudiogallery.msdn.microsoft.com/d088791c-150a-4834-8f28-462696a82bb8) extension from Noah Richards. It leaves the zooming keyboard shortcuts available (Ctrl+Shift+Comma and Ctrl+Shift+Period). – patridge Feb 14 '11 at 20:49
  • Good extension. Found it answered here: http://stackoverflow.com/questions/2861655/how-do-i-disable-zoom-on-control-scroll-in-visual-studio-2010 – goodeye Oct 12 '12 at 00:31
  • Thanks @patridge for answering the corollary: at last I know what I've been fumble-fingering to inadvertently zoom in and out, Ctrl+Shift+Period and Ctrl+Shift+Comma. – Bob Stein Mar 12 '15 at 22:07

7 Answers7

517

There is a select box for this at the bottom left of the editor window - choose 100% ;)

zoom control

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).

DrFloyd5
  • 13,555
  • 3
  • 25
  • 34
Oded
  • 489,969
  • 99
  • 883
  • 1,009
  • 59
    @jocull, because it's tucked away in a horrible location in a cluttered UI. The worst part is that there isn't even a zoom option/submenu in the "view" menu, where it belongs. – zzzzBov Mar 02 '12 at 21:04
  • 3
    @zzzzBov Well the VS 2010 UI isn't actually very cluttered. It's actually quite clever, but I think because your code is symbols and numbers and %, this box is easy to miss. – bobobobo Apr 15 '12 at 19:43
  • 3
    @bobobobo, Everywhere you look in visual studios there is another button, menu, action, feature, or text. There isn't a significant amount of whitespace for anything by default. Those are the indicators used to determine that a layout is cluttered. Being clever doesn't make it *not* cluttered. – zzzzBov Apr 15 '12 at 20:55
  • @zzzzBov That's just Microsoft exposing the software's features to you. The development window is actually huge, toolbars can be customized or removed, and every side menu can be ripped off or put away. More, it has a fullscreen mode. It's a well designed application, and it isn't cluttered unless _you_ set it up wrong. – bobobobo Apr 16 '12 at 02:27
  • 9
    @bobobobo, a program's layout is judged by its defaults. And even with massive amounts of customization (which I assure you I take full advantage of), the layout maximizes its usage of space. That's basically the definition of a cluttered layout. I'm not saying that it's bad, I'm saying that it's got a high ratio of content to screen real-estate. The major issue with cluttered spaces is that it's really easy to miss small things. If you've got an empty room and your keys are in the middle of it, you can spot them easily. No one has an empty room, because it's not functional. VS is functional. – zzzzBov Apr 16 '12 at 04:26
  • 1
    I've always known this box is there, but I would always inadvertently trigger zooming in and out with Magic Trackpad/Parallels combo. @patridge's suggestion to use https://visualstudiogallery.msdn.microsoft.com/d088791c-150a-4834-8f28-462696a82bb8 is golden! – Ted May 14 '15 at 18:22
  • At least in my case, you can only see it if you have the Package Manager Console tab selected – Roberto Nov 15 '16 at 13:30
  • To those not seeing the zoom box, it needs the horizontal scrollbar visible. [Here’s the setting for that](https://i.imgur.com/fPBUlV1.png) – Timwi Jan 01 '18 at 12:32
  • even worse, when you start typing in the search-box (quick-launch) for "zoom", it doesn't show anything useful. – Thariq Nugrohotomo Nov 22 '18 at 02:33
  • WHY do I need the horizontal scroll bar to see the zoom level?! – FanManPro Dec 01 '18 at 01:13
  • Even though I know that control is there, I always have trouble finding it. I expect it to be located where other products (eg word excel) put it. – SixOThree Jan 23 '19 at 15:05
  • It must be the 10th time I'm here. – Cătălin Rădoi Jul 12 '21 at 10:21
  • Unfortunately, in VS2019, there is no zoom control as you show on the horizontal bar! Is there an extension for this? -- EDIT: There's only a zoom in the code view. Bummer (have to use the menus in form view) – MC9000 Mar 15 '22 at 22:06
21

There's a zoom control in the bottom-left of the code editor. You can pick 100% from there, or type it by hand.

Dan Puzey
  • 33,626
  • 4
  • 73
  • 96
  • 3
    To those not seeing the zoom box, it needs the horizontal scrollbar visible. [Here’s the setting for that](https://i.imgur.com/fPBUlV1.png) – Timwi Jan 01 '18 at 12:33
  • @Timwi Question not asked, but answer sought. – Bitterblue Nov 09 '20 at 06:19
  • Unfortunately, in VS2019, there is no zoom control as you show on the horizontal bar! Is there an extension for this? – MC9000 Mar 15 '22 at 22:06
19

In Visual Studio 2022 (easy to miss if using a dark theme):

enter image description here

silkfire
  • 24,585
  • 15
  • 82
  • 105
  • Unfortunately, in VS2019, there is no zoom control as you show on the horizontal bar! Is there an extension for this? – MC9000 Mar 15 '22 at 22:05
9

You can try VSCommands extension from Visual Studio Gallery, it adds several new features around zooming in VS2010

alt text

Registered User
  • 1,630
  • 14
  • 11
  • I wish they also had tools to disable all these evil popup hinting balloons in text editor screen which block the view of the code I need to see. – Jenna Leaf Jul 16 '21 at 13:53
8

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.

Gedas Kutka
  • 1,306
  • 10
  • 9
2

In Visual Studio Ultimate 2013, at bottom-left from screen:

enter image description here

kcho0
  • 169
  • 1
  • 1
  • 7
0

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......

Madhi
  • 45
  • 1
  • 12