【问题标题】:Dank Mono isn't working on VSCode on UbuntuDank Mono 无法在 Ubuntu 上使用 VSCode
【发布时间】:2019-03-19 04:09:21
【问题描述】:

我下载了最新版本的 Dank Mono,并使用字体管理器将其安装在 Ubuntu 18.04 上。

我看到它安装在我的系统上,但是当我在 VSCode 和 Hyper.js 终端设置中使用它时,它们的行为不正确。我启用了连字,在此之前Fira Code 工作得很好。 那么,为什么我的字体与网站的字体如此不同?我该如何解决?

这是我在 VSCode 中的 JSON 设置:

{
    "window.zoomLevel": -1,
    "editor.fontFamily": "Dank Mono",
    "editor.fontLigatures": true,
    "editor.fontSize": 14,
    "terminal.integrated.fontFamily": "Dank Mono",
    "terminal.integrated.fontSize": 14,
    "editor.tabSize": 2,
    "editor.wordWrap": "on",
    "editor.fontWeight": "600",
    "liveServer.settings.donotShowInfoMsg": true,
    "terminal.integrated.cursorStyle": "line",
    "editor.multiCursorModifier": "ctrlCmd",
    "javascript.updateImportsOnFileMove.enabled": "always",
    "javascript.implicitProjectConfig.experimentalDecorators": true,
    "html.format.wrapLineLength": 80,
    "vsicons.projectDetection.autoReload": true,
    "workbench.colorTheme": "City Lights",
    "workbench.iconTheme": "city-lights-icons-vsc-light"
}

【问题讨论】:

  • 在故障排除尝试中,我的主题似乎不支持连字。如您所见,我使用城市灯光。我该怎么办?

标签: json fonts visual-studio-code settings


【解决方案1】:

点击字体然后安装它,但在安装之前,点击install 按钮旁边的info 按钮(在Linux 上),然后验证字体名称。安装 editor.fontFamily: <the-name-specified-by-font> 并将其添加到您的 settings.json 文件后,重新启动编辑器。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-09-23
    • 1970-01-01
    相关资源
    最近更新 更多