.vscode 文件夹下的 settings.json 文件下,添加如下代码:

vscode 取消注释斜体

{
    "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",  // 斜体粗体下划线
            }
          },
        ]
      },
}

相关文章:

  • 2022-01-25
  • 2022-12-23
  • 2021-11-27
  • 2022-01-05
  • 2022-01-15
猜你喜欢
  • 2022-01-07
  • 2021-09-21
  • 2022-01-05
  • 2021-12-27
  • 2022-12-23
  • 2021-05-27
相关资源
相似解决方案