How to change environment's font size?

后端 未结 19 1094
有刺的猬
有刺的猬 2020-11-30 18:03

Is there a way to change the environment font size in Visual Studio Code? Stuff like IntelliSense box, debug panel, file names, etc.

I know how to change the editor\

相关标签:
19条回答
  • 2020-11-30 18:24

    You can Zoom In and Zoom Out the entire user interface from the View menu.

    Right now i'm using version 1.21.1 and there in view menu you can get the Zoom in and Zoom out option which are the 2nd and 3rd last options. You can do it by using Ctrl + + and Ctrl + -.

    You can reset the zoom at any time by selecting Reset Zoom option.

    0 讨论(0)
  • 2020-11-30 18:24

    (VS Code 1.33.1 on Windows 7)

    Zoom all (UI and editor): CTRL + +, CTRL + -.

    Zoom editor: CTRL + Mouse Wheel.

    See below how i fixed it.

    As suggested by @Edwin: Pressing Control+Shift+P and then typing "settings" will allow you to easily find the user or workspace settings file.

    My settings file is found here: "C:\Users\You_user\AppData\Roaming\Code\User\settings.json"

    My file looks like this:

    {
        "editor.fontSize": 12,
        "editor.suggestFontSize": 6,
        "markdown.preview.fontSize": 0,
        "terminal.integrated.fontSize": 10,
        "window.zoomLevel": 0,
        "workbench.sideBar.location": "left",
        "editor.mouseWheelZoom": true
    }
    
    0 讨论(0)
  • 2020-11-30 18:24

    you can use editor.fontSize into your setting.json file of the editor.

    for example :

    {
    "editor.fontSize": 14
    }
    
    0 讨论(0)
  • 2020-11-30 18:25

    There are many options to change the font size in the Visual studio code(version:1.36.1), Editor

    Option 1:

    Go To: File > Preferences > Settings > select User tab > Text Editor > Font > Font Size

    Font Size: Change font size in pixels as per your requirement


    Option 2:

    Press Ctrl + P

    Search: settings.json, Open file and add this line in settings.json file:

    {
        "editor.fontSize": 20
    }
    

    Note: Save file after changes


    Option 3:

    Press Ctrl + Shift + P

    Search: Editor Font Zoom In

    • Just click on it, your font size will be increased

    Search: Editor Font Zoom Out

    • Just click on it, your font size will be decreased
    0 讨论(0)
  • 2020-11-30 18:30

    Try playing around with a combination of the following user settings:

    {
      "editor.fontSize": 18,
      "window.zoomLevel": 1.5,
    }
    
    0 讨论(0)
  • 2020-11-30 18:31

    As of mid 2017 To quickly get to the settings files press ctrl + shift + p and enter settings, there you will find the user settings and the workspace settings, be aware that the workspace settings will override the user settings, so it's better to use the latter directly to make it a global change (workspace settings will create a folder in your project root), from there you will have the option to add the option "editor.fontSize": 14 to your settings as a quick suggestion, but you can do it yourself and change the value to your preferred font size.

    To sum it up:

    1. ctrl + shift + p

    2. select "user settings"

    3. add "editor.fontSize": 14

    0 讨论(0)
提交回复
热议问题