Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 default zoom level

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

like image 295
Wayne Koorts Avatar asked Jan 23 '11 01:01

Wayne Koorts


People also ask

How do I change the default zoom in Visual Studio 2013?

Go to TOOLS à Options à Environment à Fonts and Colours and change the Size field. Avani, Global Zoom Level extension lets you save zoom settings.

How do I change the zoom level in Visual Studio?

You can adjust the Zoom level in VS Code with the View > Appearance > Zoom commands. The zoom level increases or decreases by 20% each time a Zoom command is executed.

How do I change the zoom level in Visual Studio 2015?

Visual Studio provides commands—View. ZoomIn (Ctrl+Shift+.) and View. ZoomOut (Ctrl+Shift+,)—that increase and decrease the zoom level in various parts of the IDE.

How do I reset the zoom on my keyboard?

To reset the zoom back to the default view, press and hold the Ctrl key and press the 0 (zero) key.


2 Answers

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.

like image 119
richardwb Avatar answered Sep 18 '22 16:09

richardwb


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

  • ctrl + shift + . (zoom in)
  • ctrl + shift + , (zoom out)
like image 25
penderi Avatar answered Sep 19 '22 16:09

penderi