How to force vscode editor to render monospaced charaters (like those in the terminal)?

Viewed 10

I use JetBrains Mono + 微软雅黑 fonts in VSCode, both for editor and terminal:

"editor.fontFamily": "'JetBrains Mono', 微软雅黑",
"terminal.integrated.fontFamily": "'JetBrains Mono', 微软雅黑",

But I was suprised to find out that it's rendered differently in the editor and terminal:

editor:

fonts rendered in editor

terminal:

fonts rendered in terminal

As you can see, it's monospaced in terminal, but not in editor. How can this come?

I want to have monospace in editor too! What should I do?

0 Answers
Related