有没有一种方法可以在Visual Studio代码中为特定语言自定义语法突出显示?

时间:2019-10-28 07:30:37

标签: visual-studio-code syntax-highlighting

我知道有一种方法可以自定义特定主题的语法突出显示颜色,例如

"editor.tokenColorCustomizations": {
    "[Solarized Light]": {
      "functions": "#008080",
      "variables":"#008080",
      "textMateRules":[
        {
          "scope": "constant",
          "settings": {
            "foreground": "#FF0000"
          }
        }
      ]
    }
  }

,但它会影响所有语言。是否可以仅针对特定语言来做到这一点?

0 个答案:

没有答案