Visual Studio 2010 default zoom level

后端 未结 10 865
别跟我提以往
别跟我提以往 2020-12-13 17:07

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 happen

相关标签:
10条回答
  • 2020-12-13 17:22

    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.

    0 讨论(0)
  • 2020-12-13 17:22

    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
    0 讨论(0)
  • 2020-12-13 17:24

    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.

    0 讨论(0)
  • 2020-12-13 17:27

    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.

    0 讨论(0)
  • 2020-12-13 17:29

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

    • ctrl + shift + . (zoom in)
    • ctrl + shift + , (zoom out)
    0 讨论(0)
  • 2020-12-13 17:32

    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.

    0 讨论(0)
提交回复
热议问题