Visual Studio 2013: Zooming In and Out of Text in the Editor

Tips Search

Visual Studio 2013: Zooming In and Out of Text in the Editor

  • Comments 8

This week I thought we would focus on some fun quickies that have been in Visual Studio since at least VS2010. The first one we will look at is simply zooming your text in the editor. The concept is really simple. For example, you may want to go from this:

5-16-2012 12-06-52 PM

 

To this:

5-16-2012 12-08-13 PM

 

Being able to zoom in and out is useful if you have trouble seeing or you are doing extreme programming or any situation where making text more readable is necessary. One other thing to keep in mind is that zooming is a per tab activity so zooming in one tab does not set the same zoom level in other tabs. Each tab has it's own zoom level.

 

 

Mouse Wheel

You can zoom in and out of text using the wheel on your mouse. Just hold down CTRL+Mouse Wheel and you can instantly zoom in and out of text in the editor.

 

Most people discover this accidentally. If this annoys you then you can see if there is an update to the Disable Mouse Wheel Zoom extension:

http://visualstudiogallery.msdn.microsoft.com/d088791c-150a-4834-8f28-462696a82bb8

 

At the time of writing there isn’t a version that works with VS2013 but that could change.

 

 

Combo Box

You can go “old school” and use the combo box at the bottom left of the IDE:

5-16-2012 12-16-30 PM

 

 

Keyboard

If you prefer to use the keyboard, you can always use CTRL+SHIFT+>[Greater Than] and CTRL+SHIFT+<[Less Than].

  • Thanks for the tips.  I was not aware of the keyboard method for changing the zoom.  Is there a hot-key or other quick way to get back to 100%?  It would be helpful after I keep "redescovering" the mouse wheel feature :)

  • Yea, I agree, it would be nice to have something like web browsers which use ctrl + 0

  • Jeff / Matt :)

    There is no zoom back to 100% command that I am aware of in VS. I've been wanting this for a while now so I'll ping the team and see if this is something that could be implemented.

    Z

  • Does the team know that the Disable Mouse Wheel Zoom extension has over 10K downloads?  Wouldn't you agree that this feature should be configurable in VS out of the box?

  • This is one of those death by a thousand cuts irritants thats been bugging me forever. Please consider making this a VS option as Dave suggests. I suspect that for every 1 person who likes it, there are 10^6 who don't.

  • In Visual Studio 2013, adjusting zoom only affects the currently opened document. It would be nice if there was a way to set the default zoom level on newly opened documents. This would be particularly useful for coders with impaired eye sight. There have been extensions in previous version of Visual Studio to do this, but there is not one available for 2013.

  • @John Madison Grant: The default font size for all text can be changed in the regular "Fonts and Colors" settings under Tools -> Options. It has been there forever.

  • @Ross... Thanks! I found this post while looking for a default zoom setting... I had already searched the Options and overlooked the "Fonts and Colors". This worked perfectly for me!!

Page 1 of 1 (8 items)
Leave a Comment
  • Please add 5 and 7 and type the answer here:
  • Post