I was using Visual Studio on my laptop when suddenly the font in the code editor got so small I could barely read it. I figured I must have engaged some obscure key sequence, so I did a little research and discovered there are many ways to change the zoom level in Visual Studio:
- To make the font larger, press CTRL+SHIFT+PERIOD
- To make the font smaller, press CTRL+SHIFT+COMMA
- To make the font larger, press & hold the CTRL key while scrolling the mouse wheel up one click
- To make the font smaller, press & hold the CTRL key while scrolling the mouse wheel down one click
Note this also works with the trackpad on most laptops. Sliding your finger up or down along the right edge of the trackpad is the same as scrolling the mouse wheel. By the way, I had the CTRL key pressed while I slid my finger down along the right edge of the trackpad, and this is how I accidentally made the font really small. Also note that each click increases or decreases the font size by 10%.