99
votes

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.

12
Control + scrolling mouse can change font size in vs 2019 on windowsPavindu

12 Answers

32
votes

In the Macros explorer under samples/accessibility there is an IncreaseTextEditorFontSize and a DecreaseTextEditorFontSize. Bind those to some keyboard shortcuts.

179
votes

You'll probably find these shortcuts useful:

Ctrl+Shift+. to zoom in.

Ctrl+Shift+, to zoom out.

Those characters are period and comma, respectively.

115
votes

Ctrl + MouseWheel on active editor.

15
votes

Ctrl + MouseWheel works on almost anything...not just visual studio

11
votes

I am using Visual Studio 2017 , I found below can change font size

enter image description here

8
votes

Use : Tools in Menu -> Options -> Environment -> Fonts and Colors

3
votes

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

2
votes

Be sure to check out the VS 2010 Beta that was just released. The new editor should have this.

2
votes

Ctrl + Alt + MouseWheel will work in Visual Studio 2015.

2
votes

You can chnage font size by ctrl + mousewheel.

OR

tools --> options --> environment --> font and color.

Detail with screenshot is mentonied here

0
votes

This worked for me:

Ctrl + - to minimize

Ctrl + + to maximize

0
votes

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:

  • For zoom in : ctrl + = (ctrl and equal both)
  • For zoom out: ctrl + - (ctrl and - both)