lisongeee
V2EX  ›  问与答

vscode git output emoji 部分不正常显示

  •  
  •   lisongeee · Jun 28, 2022 · 1649 views
    This topic created in 1429 days ago, the information mentioned may be changed or developed.

    我在项目里使用了 eslint 和 husky , 在 git commit -m 'style: format' 的时候,如果是在控制台运行

    那么 输出的 emoji 是正常显示的,我使用了如果是在 vscode output 显示就是部分乱码,emoji 那块不能显示

    vscode

    pwsh

    我设置了 settings.json

    {
        "editor.fontFamily": "'MesloLGS NF', Consolas, 'Courier New', monospace, 'Segoe UI Emoji'",
        "[Log]": {
            "editor.fontFamily": "'MesloLGS NF', Consolas, 'Courier New', monospace, 'Segoe UI Emoji'"
        },
    }
    

    但是还是不行,那么请问如何让 vscode output 正常显示呢?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2646 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 15:48 · PVG 23:48 · LAX 08:48 · JFK 11:48
    ♥ Do have faith in what you're doing.