vscode: update to stylistic sets using font ligatures with Fira Code

前端 未结 1 1383
面向向阳花
面向向阳花 2020-12-19 16:49

See October, 2019 Release Notes - stylistic sets.

Font feature settings

There is now more fine grained control over the f

相关标签:
1条回答
  • 2020-12-19 17:34

    I noticed that the stylistic sets would work better, but not perfectly, if I disabled this setting:

    "editor.letterSpacing": 0.2,
    

    I filed an issue with vscode, https://github.com/microsoft/vscode/issues/84018 where I learned that you should add the calt set to your ligature settings ala

    "editor.fontLigatures":"'zero', 'ss02', 'ss03', 'ss04', 'ss05', 'calt'",
    

    Thanks to alexandrudima.

    And then I noticed a number of people were having similar issues, https://github.com/microsoft/vscode/issues/84917

    Two important points to get stylistic sets working:

    1. In your OS font manager, uninstall older versions of Fira Code if you were using it before first, and then install Fira Code v2. And restarting the OS and vscode afterwards is probably necessary.

    2. You will almost certainly need to add calt to your list of whatever new sets you wish to use just to get other sets working.

    0 讨论(0)
提交回复
热议问题