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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM