How to specify bold font in VS Code editor?

前端 未结 3 725
一生所求
一生所求 2021-02-13 16:22

How to specify a bold font in VS Code\'s settings.json? For example, I have Envy Code R and Envy Code R Bold (exact names

3条回答
  •  不知归路
    2021-02-13 16:36

    This is a bug with Atom: https://github.com/atom/atom/issues/3790

    A workaround is to strip spaces and add a hyphen between the font name and the weight.

    Envy Code R Bold == EnvyCodeR-Bold
    

    ref: https://github.com/Microsoft/vscode/issues/381#issuecomment-163356103

提交回复
热议问题