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”,
      }
    },
  ]
},
posted @ 2023-06-04 19:36  喵喵队立大功  阅读(214)  评论(0编辑  收藏  举报