在文件-->首选项-->设置-->用户设置中添加如下代码:
"editor.mouseWheelZoom": true,即可实现效果!
VSCode实现用Ctrl+滚轮实现代码的缩放
原文:https://www.cnblogs.com/szxEPoch/p/11878325.html