How to change environment's font size?

后端 未结 19 1092
有刺的猬
有刺的猬 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:06

    As of now (March 2018) & version 1.21.0, you can go to Settings, search for 'zoom' and change "editor.mouseWheelZoom": false which is false by default to true. This will allow to zoom in/out on VS Code using control button and mouse - ctrl + scrollUp/scrollDown. For changing the fontSize of the overall working space/screen of VS Code, refer to Alegozalves's answer above.

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

    Press Ctrl and use the mouse wheel to zoom In or Out.

    0 讨论(0)
  • 2020-11-30 18:09
    1. Open VS Code
    2. Type command CTRL + SHFT + P
    3. Type Settings
    4. Settings file will open.
    5. Now under User > Text Editor > Font, find Font Size
    6. Enter your desired font size

    That's it.

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

    Took me ages to work out what I'd accidentally done when my code window went huge:

    Zoom out = Ctrl + Shift + , (comma)

    Zoom in = Ctrl + Shift + . (full stop/period)

    Not actually an answer to the posted question at all but I think someone like me will end up here because of the symptoms!

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

    After Pressing Control+Shift+P as suggested by @Edwin:

    1. Look for Workspace Settings:

    1. Then "Place your settings in the file to the right to overwrite...default and user settings," or click the UserSettings tab to adjust the window.zoomLevel if that is the desired action.

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

    A Simple approach to change the Font Size in Visual Studio Work Environment :

    Go To : File -> Preferences -> Settings OR Press CTRL+, i.e. CTRL + COMMA.

    This will open settings.json.

    You can see 3 tabs there :

    1. User Settings
    2. Workspace Settings
    3. Folder Settings

    Go to User Settings and Add this :

    {
    "editor.fontSize": 16
    }
    

    Now just save and close the file.

    In above code, 16 represents the font size. Increase of Decrease as per your wish.

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