views:

1779

answers:

5

Does anybody know if there is a shortcut or something similar for changing the font size in the editor in Visual Studio 2008?

What I mean is something like Ctrl + MouseWheel as 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 2 almost identical settings files and import them whenever I want, but that is even slower!

Thanks!

+7  A: 

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

Martin Harris
VS2010 has this bound to the mouse wheel.
rp
+2  A: 

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

Jay Bazuzi
+2  A: 

Ctrl + Shift + MouseWheel on active editor.

Sentient
+1  A: 

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

Ash