【问题标题】:Visual Studio Code(macOS version) -- How to zoom out edit interface like JetBrain iDE?Visual Studio Code(macOS 版) -- 如何缩小像 JetBrain iDE 这样的编辑界面?
【发布时间】:2018-07-15 07:59:12
【问题描述】:

我知道有一种方法可以缩小/缩小cmd + shirt + +/cmd + -,

但我只是想缩小编辑界面而不是完整的界面,并且可以像JetBrains iDE那样通过滑动两根手指来放大/缩小。

如何配置我的 Visual Studio 代码? (注意:我不想安装任何扩展。)

【问题讨论】:

    标签: visual-studio-code ide editor zooming


    【解决方案1】:

    您正在寻找的是editor.action.fontZoomIn (editor.action.fontZoomOut) 命令。 default 此命令未绑定到任何键盘快捷键。 您可以通过按 ⌘ + K、⌘ + S 打开和编辑键盘快捷键。
    相反,您也可以直接编辑keybindings.json,例如:

    {
        {
            "key": "ctrl+alt+oem_plus",
            "command": "editor.action.fontZoomIn",
            "when": "editorFocus"
        }
    }
    

    我不知道 vscode 支持多点触控手势。也许其他人知道问题参考,或者您可能想open your own issue。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-03-12
      • 1970-01-01
      • 1970-01-01
      • 2015-07-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-05-11
      相关资源
      最近更新 更多