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?
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”.
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.
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,
and typed that into my settings.json under terminal.integrated.fontfamily.
Copy from here:
"terminal.integrated.fontFamily": "MesloLGS NF",
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With