FontSize Shortcuts (New & Updated)
Introduction
Change the font size with keyboard shortcuts.
Features
You can use the following shortcuts to adjust the font size:
- Increase font size:
Ctrl/Cmd and +
- Decrease font size:
Ctrl/Cmd and -
- Reset font size to default:
Ctrl/Cmd and 0
If you are using a different keyboard layout than US QWERTY, you may have to adjust these shortcuts.
Settings
You can configure the following settings:
- fontshortcuts.defaultFontSize: The default editor font size used for a reset. (default: 15)
- fontshortcuts.defaultTerminalFontSize: The default terminal font size used for a reset. (default: 15)
- fontshortcuts.step: The step for each font size increment/decrement. (default: 1)
{
"fontshortcuts.defaultFontSize": 15,
"fontshortcuts.defaultTerminalFontSize": 15,
"fontshortcuts.step": 1
}
Requirements
Visual Studio Code 1.6 or higher
Release Notes
1.5.0
- Adjust editor.lineheight with font size changes (@fanckush via #1)
1.4.0
Added fontshortcuts.defaultTerminalFontSize setting to configure the terminal font size on a reset.
Added key bindings for changing editor and terminal font size separately.
Default key bindings now only apply to the editor or terminal depending on which one is active.
1.3.0
- Added
fontshortcuts.step setting to configure the step for each font size increment/decrement.
1.2.0
- The integrated terminal font size is now adjusted as well.
1.1.0
- Added
fontshortcuts.defaultFontSize setting to configure the font size set on a reset.
1.0.0
Initial release
Acknowledgements
Thank you to Peter Juras for creating the original fontsize-shortcuts extension.
| |