Visual Studio 2010 default zoom level

Visual Studio-2010Visual Studio

Visual Studio-2010 Problem Overview


Is there a way to set the default zoom level in Visual Studio 2010? The problem is that I find font size 10 to be too small, but font size 11 is too big. It just so happens that 90% zoom level with font size 11 gives the perfect size I am looking for. I would like to be able to have VS automatically always zoom the editor to 90%.

Visual Studio-2010 Solutions


Solution 1 - Visual Studio-2010

The VSCommands Lite extension appears to do this, judging by this blog post.

I don't think there's any way to do this other than using/writing an extension; macros don't appear to have access to the zoom controls.

If you wanted to write your own custom extension to do this you'd probably be looking at using the IWpfTextView interface.

Another good option is Presentation Zoom.

Solution 2 - Visual Studio-2010

You can also use the keyboard. The default bindings are:

  • ctrl + shift + . (zoom in)
  • ctrl + shift + , (zoom out)

Solution 3 - Visual Studio-2010

As far as I am aware you cannot set a default value for the zoom level. Instead, consider setting the default font size for the text editor.

Solution 4 - Visual Studio-2010

As stated by richardwb VSCommands 10 has this option, it's free and will control default zoom level on all open documents.

ZoomExample

Clarification: It seems that VS Commmands doesn't set the default zoom % when Visual Studio is first opened. But it does a good job of keeping everything at the default zoom % after I set it manually a single time on one document. Since I keep VS itself open for long periods this gets me most of what I need.

Solution 5 - Visual Studio-2010

I recommand this extension : http://visualstudiogallery.msdn.microsoft.com/6a7a0b57-7059-470d-bcfa-60ceb78dc752?SRC=VSIDE

"This extension creates a global zoom level so that if you zoom a single window, all editor instances will be updated to that zoom level."

Solution 6 - Visual Studio-2010

I realize this is a bit old...

But incase anyone comes across this like I have - I use Visual Studio 2012, and just tried this extension: https://visualstudiogallery.msdn.microsoft.com/6e3d9e23-8083-4ce3-8ca2-af846c93ad2b

It sets the default zoom to 91%, which is perfect! Every file I open automatically is at 91%. So, thought I would throw that out there for anyone who needs it. I had to go through some that didn't work unfortunately.

Solution 7 - Visual Studio-2010

This extension works great for me:

http://visualstudiogallery.msdn.microsoft.com/6a7a0b57-7059-470d-bcfa-60ceb78dc752

> Presentation Zoom > This extension creates a global zoom level so that if you zoom a single window, all editor instances will be updated to that zoom level.

Solution 8 - Visual Studio-2010

TroutZoom is my favourite solution and works great with VS2013 !

A simple extension that syncs zoom levels across windows, and sessions VS 2012 and 2013. You can zoom in and out with scroll wheel

N.B. I have also tried the extensions

  • PresentationZoom
  • Global Zoom Level
  • AutoZoomer

and simply

  • font size settings in VS options
  • windows scaling
  • screen resolutions

Solution 9 - Visual Studio-2010

Global Zoom Level Extension is very good as well

> This extension causes the selected zoom level in the editor window to be applied globally across all (zoomable) editor windows. The zoom level is saved and reapplied across sessions, so it does not have to be manually reset every time Visual Studio is launched.

Solution 10 - Visual Studio-2010

I think that Ctrl+Scroll changes the zoom in Visual Studio. Every time you open it, you could just press a key and flick the mouse wheel. I bet you could also write an extension that does this... Though I've never written a Visual Studio extension, so I don't really know what the APIs offer.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionWayne KoortsView Question on Stackoverflow
Solution 1 - Visual Studio-2010richardwbView Answer on Stackoverflow
Solution 2 - Visual Studio-2010penderiView Answer on Stackoverflow
Solution 3 - Visual Studio-2010Tim LloydView Answer on Stackoverflow
Solution 4 - Visual Studio-2010ChrisView Answer on Stackoverflow
Solution 5 - Visual Studio-2010neilbgrView Answer on Stackoverflow
Solution 6 - Visual Studio-2010user1944429View Answer on Stackoverflow
Solution 7 - Visual Studio-2010BrownView Answer on Stackoverflow
Solution 8 - Visual Studio-2010MemeDeveloperView Answer on Stackoverflow
Solution 9 - Visual Studio-2010Wahid BitarView Answer on Stackoverflow
Solution 10 - Visual Studio-2010Aurum AquilaView Answer on Stackoverflow