DEV Community

Discussion on: Making Powerline Work In Visual Studio Code Terminal

Collapse
 
ilq profile image
Lazarev iLya

When I add "Menlo for Powerline" in settings, VSCode say "The terminal only supports monospace fonts."

Collapse
 
mattstratton profile image
Matty Stratton

Hmm. I just tried this again (on a recently updated VS Code) and it worked for me. This is on OS X; what OS are you on?

Collapse
 
ilq profile image
Lazarev iLya

Ubuntu

Thread Thread
 
scaratec profile image
Randy Gupta

I have the very same issue here and I can't get the powerline fonts working on VS code with ubuntu.

:-(

Thread Thread
 
ilq profile image
Lazarev iLya

Try setting: "terminal.integrated.fontFamily": "monospace",

Thread Thread
 
servatj profile image
Josep • Edited

still not working...

Edited: My Solution.

instead of moving the font file to hidden folder .fonts in user home do this in ubuntu

sudo mv Menlo\ for\ Powerline.ttf /usr/share/fonts/

then sudo fc-cache -vf /usr/share/fonts/

I'm using ubuntu 18.04 at the moment of writting this, hope it helps.

Thread Thread
 
dzintars profile image
Dzintars Klavins

Works for Fedora 30 as well!. Tnx.

Collapse
 
icefire1 profile image
Simon Larsen

I had the same problem. What worked for me was setting "terminal.integrated.fontFamily": "Menlo for Powerline" and restarting Visual Studio Code. Making sure not to press the "monospace" dialog that Visual Studio Code presents as this would set "terminal.integrated.fontFamily": "monospace"

Collapse
 
puchkii profile image
Kevin Blank

What can i do if i have pressed monospace dialog? ive set the terminal.integrated fontFamily to Menlo for Powerline but it still doesnt work....

Thread Thread
 
icefire1 profile image
Simon Larsen

It's been a while now. But ensure the settings remains between VScode reboots. Personally I am currently using "MesloLGM Nerd Font" instead

Thread Thread
 
ismlynx profile image
Ismael Amaral

My VSCode now works fine with zsh. Thank you.

Collapse
 
dolemoine profile image
dolemoine

Thx! I was facing the same issue and restarting vscode after setting "terminal.integrated.fontFamilly" to "Menlo for Powerline" solve the problem as the popup dialog wouldn't show anymore!