Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio code 更改VS代码中管道|字符的样式_Visual Studio Code - Fatal编程技术网

Visual studio code 更改VS代码中管道|字符的样式

Visual studio code 更改VS代码中管道|字符的样式,visual-studio-code,Visual Studio Code,我当前的主题将关键字、注释以及管道(|)符号用斜体表示。管道应绝对垂直 我发现可以改变主题,下面是一个例子: editor.tokenColorCustomizations": { "textMateRules": [ { "name": "Tag brackets", "scope": ["punctuation.definition.tag"],

我当前的主题将关键字、注释以及管道(|)符号用斜体表示。管道应绝对垂直

我发现可以改变主题,下面是一个例子:

editor.tokenColorCustomizations": {
  "textMateRules": [
    {
      "name": "Tag brackets",
      "scope": ["punctuation.definition.tag"],
      "settings": {
        "foreground": "#BBBBBB"
      }
    }
  ]
}
这会更改尖括号的颜色。所以我认为管道字符也有一个类似的“scope”


感谢您的帮助

使用开发工具查找此管道的textmate范围(在ctrl+p中搜索
范围
)symbol@rioV8我发现它是一个带有class=“mtk9 mtki”的span,这是范围吗?使用
Ctrl+Shift+P
搜索
scope
查看示例。