visual-studiofontsidesettingsnerd-fonts

Is it possible to use Nerd Fonts as the font for Terminals in Visual Studio?


Afternoon!

First, I hope everyone is well.

I am currently experimenting with Visual Studio [Version: 17.5.0 Preview 4.0] (to clarify, not Visual Studio Code) and was hoping to utilize a Nerd Font, specifically CaskaydiaCove Nerd Font, for my Terminal. This is so Oh-My-Posh will have the necessary icons to display correctly.

Screenshot of Oh-My-Posh interface not rendering correctly in Visual Studio’s

However, it seems that Visual Studio does not allow Nerd Fonts as a font for the Terminal. If you look in the attached screenshots below, you can see that the setting’s dropdown does not list Nerd Fonts as options. Curiously, they are available as a choice for the Text Editor.

Screenshot displaying Nerd Fonts being available for the Text Editor in Visual Studio Screenshot displaying Nerd Fonts not being available for the Terminal in Visual Studio

Regarding to solve it myself, I have scoured the Visual Studio documentation and tried my best Google-fu to find any results. Disappointingly most search engines return results concerning Visual Studio, not Visual Studio Code.

Before I submit a report to the developers of Visual Studio, I would like to cover all my bases and make sure I am not missing something.

Any insight would be greatly appreciated. Thank you!


Solution

  • Installing a TTF-font will make it available to select for the Visual Studio Terminal via the Fonts and Colors-settings.

    Installing OTF-font files will make them appear for text editors in visual studio, but not the terminal.

    Jan's guess in his answer is in fact correct.