googlefonts / Inconsolata

Development repo of Inconsolata Fonts by Raph Levien
http://levien.com/type/myfonts/inconsolata.html
SIL Open Font License 1.1
1.32k stars 64 forks source link

How to enable ligatures in vscode #57

Closed Liqiankun closed 3 years ago

Liqiankun commented 3 years ago

I downloaded Inconsolata from google font. 截屏2020-08-20 21 30 54 Here is my vscode settings.json file.

{
  "editor.fontFamily": "Inconsolata",
  "editor.fontSize": 14,
  "editor.fontLigatures": true,
}

截屏2020-08-20 21 29 38

hd719 commented 3 years ago

Not sure what's going on in the 3.0.0 release, but download the font (v2.012) here (Inconsolata-Regular.ttf)

If you use vscode in this file

/settings.json

  "editor.fontFamily": "Inconsolata",
  "editor.fontLigatures": true,
Liqiankun commented 3 years ago

@hd719 I tried it out. I got two projects with the same settings. One is working

截屏2020-08-21 05 52 23

Another is still the same

截屏2020-08-21 05 52 39
Liqiankun commented 3 years ago

My bad! Reopen the project. It works.