在Visual Studio Code中仅缩放文本 [英] Zoom only Text in Visual Studio Code

查看:107
本文介绍了在Visual Studio Code中仅缩放文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法可以使Mac上的Vs代码仅缩放窗口的文本/文件窗格?当我按Command⌘+进行缩放时,它将缩放所有窗口,即.还有左侧的图标和左侧的文件窗格.

Is there a way to make Vs-code on Mac only zoom the text/file pane of the window? When I hit Command ⌘+ to zoom, it'll zoom all of the window, ie. also the icons on the left hand side and the file pane on the left as well.

比较这两个屏幕截图,也许;)

Compare these two screen shots, maybe ;)

我只希望缩放源文件(屏幕截图中的nfsd.sh).

I'd only like the source file (nfsd.sh in the screen shot) to be zoomed.

推荐答案

/5295392 :

仅适用于文本的放大/缩小的开箱即用解决方案:

Out of Box solution for zoom in/out for text only:

  1. Ctrl + Shift + P
  2. 类型(打开用户设置)
  3. 搜索(编辑settings.json)
  4. 添加"editor.mouseWheelZoom":是
  5. 保存.

您可以使用鼠标滚轮来放大或缩小文本框中的文本.

You can use your mouse wheel to zoom in or zoom out only text in the text box.

这篇关于在Visual Studio Code中仅缩放文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆