How do you reset the Zoom in Visual Studio 2010 and above
开发者_JS百科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%.
There is a select box for this at the bottom left of the editor window - choose 100% ;)
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).
There's a zoom control in the bottom-left of the code editor. You can pick 100% from there, or type it by hand.
In Visual Studio 2015/2017/2019 (easy to miss if using a dark theme):
You can try VSCommands extension from Visual Studio Gallery, it adds several new features around zooming in VS2010
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.
In Visual Studio Ultimate 2013, at bottom-left from screen:
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......
精彩评论