vsCode取消注释斜体

在setting.json里添加

"editor.tokenColorCustomizations": {
     
  "textMateRules": [
    {
     
      "name": "Comment",
      "scope": [
        "comment",
        "comment.block",
        "comment.block.documentation",
        "comment.line",
        "comment.line.double-slash",
        "punctuation.definition.comment",
      ],
      "settings": {
     
        "fontStyle": "",
        //斜体 "fontStyle": "italic",
        //斜体下划线 "fontStyle": "italic underline",
        //斜体粗体下划线 "fontStyle": "italic bold underline",
      }
    },
  ]
},

你可能感兴趣的:(web应用开发)