272

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

4
  • 3
    It's Ctrl+0 in most browsers... worth a shot Commented Sep 22, 2010 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" extension from Noah Richards. It leaves the zooming keyboard shortcuts available (Ctrl+Shift+Comma and Ctrl+Shift+Period).
    – patridge
    Commented Feb 14, 2011 at 20:49
  • Good extension. Found it answered here: stackoverflow.com/questions/2861655/…
    – goodeye
    Commented Oct 12, 2012 at 0: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
    Commented Mar 12, 2015 at 22:07

7 Answers 7

524

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

14
  • 60
    @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
    Commented Mar 2, 2012 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
    Commented Apr 15, 2012 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
    Commented Apr 15, 2012 at 20:55
  • 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
    Commented Apr 16, 2012 at 4:26
  • 2
    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 visualstudiogallery.msdn.microsoft.com/… is golden!
    – Ted
    Commented May 14, 2015 at 18:22
23

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

3
  • 3
    To those not seeing the zoom box, it needs the horizontal scrollbar visible. Here’s the setting for that
    – Timwi
    Commented Jan 1, 2018 at 12:33
  • @Timwi Question not asked, but answer sought.
    – Bitterblue
    Commented Nov 9, 2020 at 6:19
  • Unfortunately, in VS2019, there is no zoom control as you show on the horizontal bar! Is there an extension for this?
    – MC9000
    Commented Mar 15, 2022 at 22:06
22

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

enter image description here

1
  • Unfortunately, in VS2019, there is no zoom control as you show on the horizontal bar! Is there an extension for this?
    – MC9000
    Commented Mar 15, 2022 at 22:05
9

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

alt text

1
  • 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
    Commented Jul 16, 2021 at 13:53
9

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.

2

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

enter image description here

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

1
  • 2
    You may be thinking of Visual Studio Code.
    – Ferruccio
    Commented Oct 10, 2017 at 10:23

Not the answer you're looking for? Browse other questions tagged or ask your own question.