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
Bind zoom actions also to numpad equivalents #14979
Yea, but its much more comfortable with mouse.... Also Ctrl+= seems doesn't work since both keys are located on the same physical key. I think it'd better be Ctrl + ++ and Ctrl + -- as in browsers + mouse wheel.
To use the mouse scroll: "editor.mouseWheelZoom": true
-- Sorry for the English, I used Google Translator --
I know I have set up, but it would be interesting come by default also Ctrl + 0 (to reset the zoom), Ctrl + + (instead of =) and Ctrl + -, as in browsers.
By default the "-", "+", "0" of the numeric keypad does not work. This should work as in browsers.
changed the title [-]Could you please add increase and decrease font size with Ctrl+Mouse Wheel[/-][+]Enable zooming with mouse wheel and Ctrl+numeric keyboard shortcuts[/+]on Nov 4, 2016
regarding 1. the option is not on by default because trackpads are very susceptible to zoom in/out like crazy. It has been reported multiple times that, at least under mac, this gets triggered accidentally very often. Since we listen to mousewheel events coming from Chromium, and we cannot distiguish trackpad gestures from mouse gestures, we cannot work around it and have opted to make the feature opt-in by making the flag off by default.
regarding 2. I can add more out-of-the-box keybindings for zooming, and I suggest this issue continues to track only point 2. (bind zoom actions also to ctrl + numpad keys)
changed the title [-]Enable zooming with mouse wheel and Ctrl+numeric keyboard shortcuts[/-][+]Bind zoom actions also to numpad equivalents[/+]on Nov 7, 2016
Thanks. I didn't know that you have take into account sooo much considerations behind the scene. Also i thought you're coding it in wpf but as i see now IDE is most probably written in javascript itself.
1- Ctrl + + It should zoom in on the editor, the file we're moving, not the zoom of the whole program.
2- Ctrl + - You should zoom out within the editor, the file you are moving, not the zoom of the entire program.
3- Ctrl + 0 You should zoom back to the default, the file you are moving, not the zoom of the entire program.
4- Ctr + +, Ctr + - should work the same way when we use "editor.mouseWheelZoom", by only zooming the file. And using Ctrl + 0 returns to the default.
5- Ctr + = You should do nothing. The zoom continues. You must unlink this function.
6- Ctrl + 0 of the non-numeric keyboard does not reset the zoom.
Can you check it please?
Version 1.8.0-insider ce6d578 2016-11-09T08:48:03.700Z
Tekbr please open a different issue, I agree with you that the zoom actions should be bound to increasing the font size of the editor, instead of zooming in the entire UI (which no other editor does AFAIK).
In fact I am 100% in favor of eliminating the entire UI zoom we're shipping with, it causes many issues with font anti-aliasing for example and I have to maintain extraneous code to work around it (i.e. not using translate3d when the UI zoom is not 100%)
This issue is about the binding of zooming actions to numpad keys (as the op wants) and after adding cmd+0, I will close it again.
alexandrudima About what Sandeep Somavarapu (@sandy081) said, I have the problem with Windows. Ctrl + 0 on non-numeric keyboard does not work. See issue #15840. It is a feature request that has been spoken about here before but has not been placed.
I know I have set up, but it would be interesting come by default also Ctrl + 0 (to reset the zoom), Ctrl + + (instead of =) and Ctrl + -, as in browsers.
I'm going to open a new issue about it as indicated.
Tekbr please open a different issue, I agree with you that the zoom actions should be bound to increasing the font size of the editor, instead of zooming in the entire UI (which no other editor does AFAIK).
In fact I am 100% in favor of eliminating the entire UI zoom we're shipping with, it causes many issues with font anti-aliasing for example and I have to maintain extraneous code to work around it (i.e. not using translate3d when the UI zoom is not 100%)
This issue is about the binding of zooming actions to numpad keys (as the op wants) and after adding cmd+0, I will close it again.
Activity
ffes commentedon Nov 4, 2016
Just in case... you know that Ctrl+- and Ctrl+= do this?
drweb86 commentedon Nov 4, 2016
Yea, but its much more comfortable with mouse.... Also Ctrl+= seems doesn't work since both keys are located on the same physical key. I think it'd better be Ctrl + ++ and Ctrl + -- as in browsers + mouse wheel.
Tekbr commentedon Nov 4, 2016
To use the mouse scroll:
"editor.mouseWheelZoom": true-- Sorry for the English, I used Google Translator --
I know I have set up, but it would be interesting come by default also Ctrl + 0 (to reset the zoom), Ctrl + + (instead of =) and Ctrl + -, as in browsers.
By default the "-", "+", "0" of the numeric keypad does not work. This should work as in browsers.
drweb86 commentedon Nov 4, 2016
I updated issue with your comments, Tekbr.
[-]Could you please add increase and decrease font size with Ctrl+Mouse Wheel[/-][+]Enable zooming with mouse wheel and Ctrl+numeric keyboard shortcuts[/+]alexdima commentedon Nov 7, 2016
DrWeB
regarding 1. the option is not on by default because trackpads are very susceptible to zoom in/out like crazy. It has been reported multiple times that, at least under mac, this gets triggered accidentally very often. Since we listen to
mousewheelevents coming from Chromium, and we cannot distiguish trackpad gestures from mouse gestures, we cannot work around it and have opted to make the feature opt-in by making the flag off by default.regarding 2. I can add more out-of-the-box keybindings for zooming, and I suggest this issue continues to track only point 2. (bind zoom actions also to ctrl + numpad keys)
[-]Enable zooming with mouse wheel and Ctrl+numeric keyboard shortcuts[/-][+]Bind zoom actions also to numpad equivalents[/+]drweb86 commentedon Nov 7, 2016
alexandrudima,
Thanks. I didn't know that you have take into account sooo much considerations behind the scene. Also i thought you're coding it in wpf but as i see now IDE is most probably written in javascript itself.
Tekbr commentedon Nov 9, 2016
alexandrudima
I guess that was not quite it.
1- Ctrl + + It should zoom in on the editor, the file we're moving, not the zoom of the whole program.
2- Ctrl + - You should zoom out within the editor, the file you are moving, not the zoom of the entire program.
3- Ctrl + 0 You should zoom back to the default, the file you are moving, not the zoom of the entire program.
4- Ctr + +, Ctr + - should work the same way when we use "editor.mouseWheelZoom", by only zooming the file. And using Ctrl + 0 returns to the default.
5- Ctr + = You should do nothing. The zoom continues. You must unlink this function.
6- Ctrl + 0 of the non-numeric keyboard does not reset the zoom.
Can you check it please?
Version 1.8.0-insider ce6d578 2016-11-09T08:48:03.700Z
Tekbr commentedon Nov 21, 2016
alexandrudima ????
Tekbr commentedon Dec 2, 2016
alexandrudima Can you check this, please? Or say one why not do this?
1 remaining item
sandy081 commentedon Dec 8, 2016
alexandrudima Reset zoom is not working in Mac with cmd+0
Tekbr commentedon Dec 8, 2016
alexandrudima Please look at the other notes.
alexdima commentedon Dec 8, 2016
Tekbr please open a different issue, I agree with you that the zoom actions should be bound to increasing the font size of the editor, instead of zooming in the entire UI (which no other editor does AFAIK).
In fact I am 100% in favor of eliminating the entire UI zoom we're shipping with, it causes many issues with font anti-aliasing for example and I have to maintain extraneous code to work around it (i.e. not using
translate3dwhen the UI zoom is not 100%)This issue is about the binding of zooming actions to numpad keys (as the op wants) and after adding cmd+0, I will close it again.
alexdima commentedon Dec 8, 2016
Sandeep Somavarapu (@sandy081) Are you pressing the NUMPAD_0? Because that works for me. I cannot bind cmd+0 because that is used by another action.
Tekbr commentedon Dec 8, 2016
alexandrudima About what Sandeep Somavarapu (@sandy081) said, I have the problem with Windows. Ctrl + 0 on non-numeric keyboard does not work. See issue #15840. It is a feature request that has been spoken about here before but has not been placed.
I'm going to open a new issue about it as indicated.
Thank you.
sandy081 commentedon Dec 9, 2016
alexandrudima I tried with Numpad 0 on my keyboard with numpad. Still reset zoom on Mac does not work for me.
Fixes microsoft#14979: Bind zoom actions also to numpad equivalents