Reputation: 2511
Does anybody know if there is a shortcut or something similar for changing the font size in the text editor in Visual Studio 2008?
What I mean is something like Ctrl + mouse wheel like in Firefox.
Accessing the Options window and then selecting Environment > Fonts and Colors is fine if you don't have to change the font size all the time, but in my case, I would like to be able to change it depending on what I am doing (writing and reading code or just reading it).
I guess I could create two almost identical settings files and import them whenever I want, but that is even slower.
Upvotes: 117
Views: 139204
Reputation: 1
In case ctrl + shift + ,
and ctrl + shift + .
not working:
Press ctrl + shift + p
, then type Open Keyboard Shortcuts(JSON), and paste following lines:
{
"key": "ctrl+shift+.",
"command": "editor.action.fontZoomIn"
},
{
"key": "ctrl+shift+,",
"command": "editor.action.fontZoomOut"
}
Upvotes: 0
Reputation: 1
For currently latest version of VScode (version 1.76.2),
simply add- "editor.mouseWheelZoom": true
in setting.json file
and now you can simply press ctrl + mousewheel scroll to zoom in and out.
Upvotes: 0
Reputation: 1
In visual studio code if your front is too small or too big, then you just need to zoom out or zoom in. To do that you just have to do:
Upvotes: 0
Reputation: 539
In visual studio 2019 you can use,
Either:
Ctrl + Shift + . To increase
Ctrl + Shift + , To decrease
Or
Go to Tools > Options... > Environment > Fonts and Colors
Upvotes: 10
Reputation: 1681
I am using Visual Studio 2017 , I found below can change font size
Upvotes: 17
Reputation: 10213
You'll probably find these shortcuts useful:
Ctrl+Shift+. to zoom in.
Ctrl+Shift+, to zoom out.
Those characters are period and comma, respectively.
Upvotes: 216
Reputation: 105
You can chnage font size by ctrl + mousewheel.
OR
tools --> options --> environment --> font and color.
Detail with screenshot is mentonied here
Upvotes: 2
Reputation: 81
Use : Tools in Menu -> Options -> Environment -> Fonts and Colors
Upvotes: 8
Reputation: 46516
Be sure to check out the VS 2010 Beta that was just released. The new editor should have this.
Upvotes: 2
Reputation: 28617
In the Macros explorer under samples/accessibility there is an IncreaseTextEditorFontSize and a DecreaseTextEditorFontSize. Bind those to some keyboard shortcuts.
Upvotes: 32