DEPRECATED: starting from VS Code version 1.100.0, the default behavior of View: Reset Zoom(workbench.action.zoomReset) command has been changed to reset to the last used zoom level, which is set as "window.zoomLevel" in settings.json, making this extension obsolete.
This VS Code extension allows you to customize your window zoom level and provides a Reset Window Zoom Level command with configurable shortcuts. It solves the limitation where standard View: Reset Zoom always resets to 0 regardless of your preferred zoom level.
- Set custom default zoom level
- Reset to your preferred zoom level with a customizable shortcut
- Perfect for presentations where you might need to zoom in and then reset it to your preferred level
- Install vsce:
npm install -g @vscode/vsce - Clone and package:
vsce package - In VS Code, open Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
- Select "Install from VSIX" and choose
window-zoom-to-specific-value-X.X.X.vsix
In VS Code settings:
- Set
window-zoom-to-specific-value.zoomLevelto your preferred zoom level in thesettings.jsonfile - Optionally - assign a new keyboard shortcut to the
Reset Window Zoom Levelcommand instead of the defaultCmd+9/Ctrl+9
- Initial release
- Custom zoom level support
- Reset command implementation
- Added keyboard shortcut configuration and updated README with installation instructions
Issues and pull requests are welcome on [GitHub]
[Add your license here]