Home > database >  How to replace "scopeLineCSS" from "Bracket Pair Colorizer 2" with native vsc co
How to replace "scopeLineCSS" from "Bracket Pair Colorizer 2" with native vsc co

Time:12-17

With "Bracket Pair Colorizer 2", we can give a custom line between a bracket pair, one configuration is like following:

    "bracket-pair-colorizer-2.scopeLineCSS": [
    "borderStyle : dashed",
    "borderWidth : 3px",
    "borderColor : {color}",
    "opacity: 0.5"
],

How can we do this with the native vsc configuration?

For example, we can add "editor.bracketPairColorization.enabled": true into settings.json to give colors for the bracket pairs. I didn't find the configuration for the scopeLineCSS

CodePudding user response:

The answer to this question is in the question itself.)

"bracket-pair-colorizer-2.scopeLineCSS": [
    "borderStyle : dashed",
    "borderWidth : 3px",
    "borderColor : {color}",
    "opacity: 0.5"
]
  • Related