skip to Main Content

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!

2

Answers


  1. Wild guess here. They might still be on conhost which doesn’t work with OTF files and needs TTF. So, theoretically, installing the same font as TTF could do the trick. You’ll need to do a manual install from the Nerd Font repo in this case as they don’t ship the TTF files inside their zip files.

    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search