title: How to use SF Mono in VS Code?
body: <p>I have encountered some issues for setting up SF Mono font in VS Code.</p>
  
  <h2>Method 1</h2>
  
  <p>Add the following configuration in <code>settings.json</code></p>
  
  <pre><code>"editor.fontFamily": "SF Mono"
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Fi76u.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Fi76u.png" alt="enter image description here"></a></p>
  
  <p>The font seems to be bold, and changing <code>"editor.fontWeight"</code> to <code>100</code> doesn't help.</p>
  
  <h2>Method 2</h2>
  
  <pre><code>"editor.fontFamily": "SFMono-Regular"
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/bXY1F.png" rel="noreferrer"><img src="https://i.stack.imgur.com/bXY1F.png" alt="enter image description here"></a></p>
  
  <p>The texts have regular font weights now, but the comment is still bold.</p>
  
  <h2>Method 3</h2>
  
  <p>Try to configure the comment text separately.</p>
  
  <pre><code>"editor.fontFamily": "SFMono-Regular",
  "editor.tokenColorCustomizations": {
      "textMateRules": [
        {
          "scope": "comment",
          "settings": {
              "fontStyle": "normal"
          }
        }
      ]
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/bYMAR.png" rel="noreferrer"><img src="https://i.stack.imgur.com/bYMAR.png" alt="enter image description here"></a></p>
  
  <p>It seems configuring comment texts to <code>normal</code> gives them regular font weight.</p>
  
  <p>My question is how to have regular SF Mono weights while having italic comments?</p>