visual-studio-code - 如何更改 VS Code 设置以使用 JetBrains

我已经下载并安装了 JetBrains Mono 字体 https://www.jetbrains.com/lp/mono/

我正在尝试设置 VS Code 来使用它。

我已将以下几行添加到我的 settings.json 文件中:

    // Set the font
    "editor.fontFamily": "Consolas, 'Courier New', monospace", // Copied from current settings
    // Turn on font ligatures
    "editor.fontLigatures": true, // Override default value of false

我的问题是:我需要在 editor.fontFamily 中放入什么使用 JetBrains 的部分?

我试过 "editor.fontFamily": "JetBrains, Consolas, 'Courier New', monospace"没有成功。

最佳答案

打开 VSCode 设置(代码 -> 首选项 -> 设置),然后添加到用户设置 JSON 文件的末尾:

  "editor.fontFamily": "JetBrains Mono",
  "editor.fontSize": 13,
  "editor.fontLigatures": true

关于visual-studio-code - 如何更改 VS Code 设置以使用 JetBrains Mono 字体,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59776906/

相关文章:

gcc - 交叉 mingw 编译因未知伪操作而失败

c# - 仅当从网络驱动器进行编译时,编译问题[“Root activity type is inv

eclipse - Eclipse无法解决传递依赖项目?

VBA:在 Excel 中创建宏 - 编译错误 -- 'Sub or function is not

android - Android : How to tell where an error is

c#-4.0 - 无法将 X 类型的对象转换为 Y

compiler-errors - libdft_api.h :36:25: fatal error

android-ndk - 编译tesseract时出错

gcc - 使用gcc 4.6在内核3.0上编译LLVM 2.9的gcc 4.2

iphone - iPhone openssl无法编译