vscode 取消注释斜体

.vscode 文件夹下的 settings.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",  // 斜体粗体下划线
            }
          },
        ]
      },
}
posted @ 2020-06-02 21:02  bp9jISKIN  阅读(3760)  评论(0编辑  收藏  举报