JavaScript Enthusiast | Software Developer | Open Source Contributor | Technical Speaker

How To Change the VSCode Terminal Font Size

Nov 21, 2022#vscode5 min read

In this short post, we're going to understand how we can change the font size for the terminal that comes bundled with Visual Studio Code. We'll take a look at both ways we can update the font size, using the Settings screen as well as the settings.json file.

Using Settings Screen:

Updating font size using the Settings screen is quite straightforward. All you need to do is follow the steps mentioned below:

1. Open the file menu from the top left corner of the screen.
2. Move your mouse over the Preferences option.
3. And select the Settings option.

4. This will take you to the Settings screen. On this screen, search for terminal font size.
5. In the search results look for Terminal > Integrated: Font Size settings and change its value based on your requirements.

And That's it!

Using settings.json file:

To update font size by modifying the settings.json file follow the steps mentioned below.

1. Open Command Palette by pressing Ctrl + Shift + P (Windows) or Cmd + Shift + P (macOS)
2. In the command palette start typing Open User Settings JSON and select the command with the same name.

3. This will open the settings.json file. In this file look for terminal.integrated.fontSize key, if this key doesn't exist in the file, simply add the following line to the file.

"terminal.integrated.fontSize": 18,

This will set the font size for the terminal to 18px. Change this value based on your requirements. If the key already exists, you can update the value of the existing key instead of adding a new one.

That's all for this post. I hope you guys enjoyed this article. In case you've any queries or feedback, feel free to drop a comment.

Quick Tip: How to Read User Input In Rust?