Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I use the meslo font for visual studio code

Tags:

I opened the integrated terminal on visual studio code and I did not like the editor font value that it defaults to. I want to change it to Meslo Regular Z Powerline. Here is the gist: when I entered this value "Meslo Regular Z Powerline", it turns out that visual studio code does not recognize it. I think the issue is because of the space characters it contains. I have it installed on my Mac but it is still not recognizing it. What is the workaround for this?

like image 951
Van_Paitin Avatar asked Jan 10 '17 16:01

Van_Paitin


People also ask

How do I use a downloaded font in Visual Studio code?

Setup in VS Code Now that you have the font installed, you need to configure VS Code to use it. This will only take a second. Open your VS Code settings by clicking the gear icon in the lower left corner. Then, search for “Font Family” and type in “Cascadia Code”.

How do I change the font style in Visual Studio code?

Open your VS editor. Navigate to the upper part of the screen and select File. Now, in the drop-down menu, go to Preferences > Settings. You'll now see the Commonly Used section with a menu on the right-side of the screen, you can access the font from this page or by following the step below.


1 Answers

None of these answers were working for me because I was using MesloLGS NF for my iTerm2. What I did was took the exact value that was being displayed in iTerm2 -> Preferences -> Profiles -> Text under the font section,

iTerm2 Settings

and typed that into my settings.json under terminal.integrated.fontfamily.

VS Code Settings

Copy from here:

"terminal.integrated.fontFamily": "MesloLGS NF",
like image 109
Ian Keller Avatar answered Oct 09 '22 09:10

Ian Keller