Configuration of sublime3 plugin BracketHighlighter

The BracketHighlighter plug-in can provide Sublime Text with highlighting functions such as brackets and quotation marks, but after installing this plug-in, there is no highlighting by default, only the underline is indicated, which is not very eye-catching and needs to be configured: 1. Use package control to install BracketHighlighter
in Sublime Text ; 2. After the installation is complete, open Preferences -> package settings -> Bracket Highlighter -> Bracket Settings – User, and then add the following code:

{
    "bracket_styles": {
        "default": {
            "icon": "dot",
            // "color": "entity.name.class",
            "color": "brackethighlighter.default",
            "style": "highlight"
        },

        "unmatched": {
            "icon": "question",
            "color": "brackethighlighter.unmatched",
            "style": "highlight"
        },
        "curly": {
            "icon": "curly_bracket",
            "color": "brackethighlighter.curly",
            "style": "highlight"
        },
        "round": {
            "icon": "round_bracket",
            "color": "brackethighlighter.round",
            "style": "highlight"
        },
        "square": {
            "icon": "square_bracket",
            "color": "brackethighlighter.square",
            "style": "highlight"
        },
        "angle": {
            "icon": "angle_bracket",
            "color": "brackethighlighter.angle",
            "style": "highlight"
        },
        "tag": {
            "icon": "tag",
            "color": "brackethighlighter.tag",
            "style": "highlight"
        },
        "single_quote": {
            "icon": "single_quote",
            "color": "brackethighlighter.quote",
            "style": "highlight"
        },
        "double_quote": {
            "icon": "double_quote",
            "color": "brackethighlighter.quote",
            "style": "highlight"
        },
        "regex": {
            "icon": "regex",
            "color": "brackethighlighter.quote",
            "style": "outline"
        }
    }

}


Reprinted from: https://www.cnblogs.com/willingtolove/p/4657320.html

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325077441&siteId=291194637