aizu's Knowledge Base
    • Go to: aizu.my Homepage
    • Recent
    • Tags
    • Register
    • Login

    VSCode - code font size controls

    Ref
    1
    1
    4
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aizu
      last edited by

      To fixed size in file, go to Command + Shift + P Go to: "Preferences: Open User Settings (JSON)"

      Paste the code below;

      "editor.fontSize": 16
      

      To control using Command + +, Go to: Command + Shift + P > Preferences: Open Keyboard Shortcuts (JSON)

      Paste the code below;

       {
        "key": "cmd+=",
        "command": "editor.action.fontZoomIn"
      },
      {
        "key": "cmd+-",
        "command": "editor.action.fontZoomOut"
      },
      {
        "key": "cmd+0",
        "command": "editor.action.fontZoomReset"
      },
      {
        "key": "cmd+=",
        "command": "-workbench.action.zoomIn"
      },
      {
        "key": "cmd+-",
        "command": "-workbench.action.zoomOut"
      }
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post