Как приблизить код в vs code
Let’s quickly have a look at how we can easily zoom in and zoom out in VS code.
By default, VS Code allows you to:
- Zoom In
CTRL + - Zoom Out
CTRL — - Reset to default
CTRL + 0
But what if we want to zoom in or zoom out just the font?
Well, by default we can’t do that. We must enable a setting.
To do that, go to File -> Preferences -> Settings and enable the Mouse Wheel Zoom setting.
Now we can easily zoom in and zoom out using CTRL + Mouse Wheel Up/Down .
Great! Happy coding!
Let me know what you think about this article through comments below, or on Twitter at @pelu_carol.
If you find this article helpful, please share it with others and subscribe to the blog to support me, and receive a bi-monthly-ish e-mail notification on my latest articles.
Is it possible to configure control + scroll-wheel to increase/decrease zoom in VS Code?
Similar to the default in the Visual Studio editors or Sublime, I would like to use control + scroll-wheel to change the font size / zoom level, rather than control-plus/minus. I did not see any option in the User or Workspace preferences.
Edit from Derek Morin: If you want this to be the default behaviour, please upvote: https://github.com/microsoft/vscode/issues/97137
8 Answers 8
You can edit settings.json and add this line:
Or go to settings CTRL + , or File > Preferences > Settings and search for:
in newer versions :
File -> preferences -> settings -> search for » mouse wheel zoom «
File > Preferences > Settings and search for:
✅ check this setting
go to settings CTRL + ,
Go the edit settings.json and add the below line inside the
For reference setting.json all preferences
Is it possible to configure control + scroll-wheel to increase/decrease zoom in VS Code?
Configure Ctrl+ scroll-wheel to increase/decrease zoom in VS Code.
1 : File > Preferences > Settings
2 : Type "mouseWheelZoom"
3 : select Zoom option : if you need to zoom on : Ctrl+ Mousewheel (select the check-box) enter code here if you Do Not need to zoom on : Ctrl+ Mousewheel (unselect select the check-box)
How to enable mouse scroll zoom in Visual Studio Code
By default, making your font bigger or smaller by using Ctrl + Mouse Wheel is not enabled in Visual Studio Code. But with a settings change, we can enable this.
Steps to enable Mouse Scroll Zoom in Visual Studio Code
In Visual Studio Code window, click on File >> Preferences >> Settings .
This will create a new tab called Settings.
On Search Settings , type mouse wheel zoom .
Check the checkbox under Editor: Mouse Wheel Zoom .
This will automatically save the settings.
When you go back to your code, you will now be able to use Ctrl + Mouse Wheel to zoom the font in your editor.
Горячие клавиши – Visual Studio Code
Добрый вечер, дорогие друзья. Не так давно я перешел с горяче любимого мне текстового редактора – Sublime Text 3 на новый софт. Думаю, что в скором времени, сделаю целый цикл постов по поводу нового редактора кода.
Мой выбор пал, на уже широко известный редактор кода – Visual Studio Code.
В этом посте хочу зафиксировать для себя (и вас) горячие клавиши. Таким образом эта инфа будет под рукой и не потеряется на компе или в закладках.
Итак представляю вашему вниманию переведенный и сгруппированный вариант горячих клавиш, для редактора кода – Visual Studio Code.
Перевод делался с использованием гугл-транслейтера, если по какому-то пункту у вас появятся вопросы, прошу писать их в комментариях к посту
Все сочетания горячих клавиш для редактора Visual Studio Code сгруппированы по функциональному признаку и изложены в виде таблиц.
How to enable mouse scroll zoom in Visual Studio Code
By default, making your font bigger or smaller by using Ctrl + Mouse Wheel is not enabled in Visual Studio Code. But with a settings change, we can enable this.
Steps to enable Mouse Scroll Zoom in Visual Studio Code
In Visual Studio Code window, click on File >> Preferences >> Settings .
This will create a new tab called Settings.
On Search Settings , type mouse wheel zoom .
Check the checkbox under Editor: Mouse Wheel Zoom .
This will automatically save the settings.
When you go back to your code, you will now be able to use Ctrl + Mouse Wheel to zoom the font in your editor.
Is it possible to configure control + scroll-wheel to increase/decrease zoom in VS Code?
Similar to the default in the Visual Studio editors or Sublime, I would like to use control + scroll-wheel to change the font size / zoom level, rather than control-plus/minus. I did not see any option in the User or Workspace preferences.
Edit from Derek Morin: If you want this to be the default behaviour, please upvote: https://github.com/microsoft/vscode/issues/97137
8 Answers 8
You can edit settings.json and add this line:
Or go to settings CTRL + , or File > Preferences > Settings and search for:
in newer versions :
File -> preferences -> settings -> search for » mouse wheel zoom «
File > Preferences > Settings and search for:
✅ check this setting
go to settings CTRL + ,
Go the edit settings.json and add the below line inside the
For reference setting.json all preferences
Is it possible to configure control + scroll-wheel to increase/decrease zoom in VS Code?
Configure Ctrl+ scroll-wheel to increase/decrease zoom in VS Code.
1 : File > Preferences > Settings
2 : Type "mouseWheelZoom"
3 : select Zoom option : if you need to zoom on : Ctrl+ Mousewheel (select the check-box) enter code here if you Do Not need to zoom on : Ctrl+ Mousewheel (unselect select the check-box)
VS Code Zoom In and Out Font and Editor
Let’s quickly have a look at how we can easily zoom in and zoom out in VS code.
By default, VS Code allows you to:
- Zoom In
CTRL + - Zoom Out
CTRL — - Reset to default
CTRL + 0
But what if we want to zoom in or zoom out just the font?
Well, by default we can’t do that. We must enable a setting.
To do that, go to File -> Preferences -> Settings and enable the Mouse Wheel Zoom setting.
Now we can easily zoom in and zoom out using CTRL + Mouse Wheel Up/Down .
Great! Happy coding!
Let me know what you think about this article in the comments section below.
If you find this article helpful, please share it with others and subscribe to the blog to support me, and receive a bi-monthly-ish e-mail notification on my latest articles.