2017-11-21 10 views

答えて

0

必要なTMのスコープセレクタを見つけるために、コマンドパレットからこのコマンドを実行します。

Developer: Inspect TM Scopes

settings.jsonはCtrl +

例セレクタを置く:

"editor.tokenColorCustomizations": { 
    "textMateRules": [ 
     { 
      "scope": "comment.block.documentation.js entity.name.type.instance.jsdoc", 
      "settings": { 
       "foreground": "#6f42c1" 
      } 
     }, 
     { 
      "scope": "comment.block.documentation.js storage.type.class.jsdoc", 
      "settings": { 
       "foreground": "#d73a49" 
      } 
     }, 
     { 
      "scope": "comment.block.documentation.js variable.other.jsdoc", 
      "settings": { 
       "foreground": "#24292e" 
      } 
     } 
    ] 
} 
+0

この場合、entity.name.type.instance.jsdocに何を入れる必要がありますか? https://i.imgur.com/32E19W2.png –

+0

ギターのように色分けしたい。例:https://github.com/pixijs/pixi.js/blob/dev/src/core/display/TransformBase.js –

関連する問題