sublime text3 BracketHighlighter括号匹配的设置

http://www.360doc.com/content/15/0404/00/20545288_460469764.shtml

安装完以后扩后匹配是一个下滑线,可以这样修改

Preference->Package Settings->BracketHighlighter->Bracket Settings 在右边的窗口,settings-user中添加

{
    "bracket_styles": {
        // `default` and `unmatched` styles are special
        // styles. If they are not defined here,
        // they will be generated internally with
        // internal defaults.

        // `default` style defines attributes that
        // will be used for any style that does not
        // explicitly define that attribute.  So if
        // a style does not define a color, it will
        // use the color from the "default" style.
        "default": {
            "icon": "dot",
            // Support the old convention of `brackethighlighter.default`
            // for themes that already provide something.
            // As this has always been the only one we‘ve provided
            // by default, all the others will use region-ish colors.
            "color": "region.yellowish brackethighlighter.default",
            // "style": "underline"
            "style": "hightlight"
        },

        // This particular style is used to highlight
        // unmatched bracket pairs.  It is a special
        // style.
        "unmatched": {
            "icon": "question",
            "color": "region.redish",
            "style": "outline"
        },
        // User defined region styles
        "curly": {
            "icon": "curly_bracket",
            "color": "region.purplish",
            "style": "hightlight"
        },
        "round": {
            "icon": "round_bracket",
            "color": "region.yellowish",
            "style": "hightlight"
        },
        "square": {
            "icon": "square_bracket",
            "color": "region.bluish",
            "style": "hightlight"
        },
        //下面的都是原来的样式
        "angle": {
            "icon": "angle_bracket",
            "color": "region.orangish"
            // "style": "underline"
        },
        "tag": {
            "icon": "tag",
            "color": "region.orangish"
            // "style": "underline"
        },
        "c_define": {
            "icon": "hash",
            "color": "region.yellowish"
            // "style": "underline"
        },
        "single_quote": {
            "icon": "single_quote",
            "color": "region.greenish"
            // "style": "underline"
        },
        "double_quote": {
            "icon": "double_quote",
            "color": "region.greenish"
            // "style": "underline"
        },
        "regex": {
            "icon": "star",
            "color": "region.greenish"
            // "style": "underline"
        }
    }
}

 

sublime text3 BracketHighlighter括号匹配的设置

原文地址:https://www.cnblogs.com/mangmangbiluo/p/10021774.html

为您推荐

发表评论

电子邮件地址不会被公开。 必填项已用*标注