visual-studiofontsvisual-studio-2019codelens

Change the font size in Visual Studio


What is this font in the Visual Studio options?

enter image description here

I changed the general font to Consolas 6, and I had all other fonts updated automatically, but this one of the comments that remain still too huge. How can I update it manually?

Bellow is the my Visual Studio 2019 options window enter image description here


Solution

  • To change the size of the CodeLens font:

    1. Open Options (Tools -> Options)
    2. Go to Environment -> Fonts and Colors
    3. Choose CodeLens from the Show settings for dropdown.
    4. Change the font as needed.

    See the attached screenshot:

    CodeLens Font Settings