You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: Allow zooming with ctrl+mousewheel combination #6978
I am not sure we want to zoom the entire UI when you use the mousewhell, I would expect only the editor font to increase. Thereby moving to alexandrudima
Didn't this feature used to work, or am I just failing to remember correctly? I was just going to report this as a bug, but maybe it never actually worked. I jump between different computer setups fairly regularly, so maybe I am just not remembering. Anyway, I found this dupe, and didn't want to submit a new issue. Thanks for your efforts Benjamin Pasero (@bpasero).
By the way, I think I would expect this feature to work the same way that CTRL + + and CTRL + - work. VSCode's UI deviates from many other UIs in that it scales well, so I think I'd expect this to scale the entire UI consistently with the keyboard commands.
I would expect Ctrl + and Ctrl - to zoom only the editor. That behaviour would be consistent with most (all?) other editors and apps. Scaling the entire interface is an accessibility feature IMO, so maybe it doesn't need to use such a commonly used shortcut by default?
Beyond Ctrl+Wheel, pinch to zoom should also zoom the editor.
Reacted by Alexandru Dima, Jan Niklas Hasse and misabiko
Can this be disabled? I'm constantly accidentally zooming my text to a tiny size when I ctrl-click and accidentally brush my fingers over the trackpad.
👍 Closing since this is implemented. The feature is disabled by default due to numerous issues reported by users using touchpads where we begin to unexpectedly zoom in/zoom out when e.g. using ballistic scrolling and pressing the ctrl/cmd modifier. The root problem is that we cannot differentiate mousewheel events coming in from a real mouse with a wheel from those coming in from touchpads / trackpads.
Activity
Allow zooming with ctrl+mousewheel combination
bpasero commentedon May 30, 2016
I am not sure we want to zoom the entire UI when you use the mousewhell, I would expect only the editor font to increase. Thereby moving to alexandrudima
cookch10 commentedon May 31, 2016
Benjamin Pasero (@bpasero), yes you are correct.
pcgeek86 commentedon Jul 6, 2016
Didn't this feature used to work, or am I just failing to remember correctly? I was just going to report this as a bug, but maybe it never actually worked. I jump between different computer setups fairly regularly, so maybe I am just not remembering. Anyway, I found this dupe, and didn't want to submit a new issue. Thanks for your efforts Benjamin Pasero (@bpasero).
By the way, I think I would expect this feature to work the same way that
CTRL + +andCTRL + -work. VSCode's UI deviates from many other UIs in that it scales well, so I think I'd expect this to scale the entire UI consistently with the keyboard commands.seesharprun commentedon Jul 6, 2016
If this zooms only the editor, shouldn't it be seperate from
Ctrl + +?coreh commentedon Aug 5, 2016
I would expect
Ctrl +andCtrl -to zoom only the editor. That behaviour would be consistent with most (all?) other editors and apps. Scaling the entire interface is an accessibility feature IMO, so maybe it doesn't need to use such a commonly used shortcut by default?Beyond Ctrl+Wheel, pinch to zoom should also zoom the editor.
pierznj commentedon Oct 21, 2016
Can this be disabled? I'm constantly accidentally zooming my text to a tiny size when I ctrl-click and accidentally brush my fingers over the trackpad.
alexdima commentedon Oct 27, 2016
pierznj This is disabled by default, so you must have enabled it in the past --
"editor.mouseWheelZoom": falseDarrenCook commentedon May 5, 2017
alexandrudima Thanks - I came here to vote for this feature, and it turns out I just had to turn it on!
Shouldn't this issue be closed?
alexdima commentedon May 29, 2017
👍 Closing since this is implemented. The feature is disabled by default due to numerous issues reported by users using touchpads where we begin to unexpectedly zoom in/zoom out when e.g. using ballistic scrolling and pressing the ctrl/cmd modifier. The root problem is that we cannot differentiate
mousewheelevents coming in from a real mouse with a wheel from those coming in from touchpads / trackpads.