码迷,mamicode.com
首页 > 其他好文 > 详细

sublime text3 BracketHighlighter括号匹配的设置

时间:2018-11-26 19:59:48      阅读:392      评论:0      收藏:0      [点我收藏+]

标签:support   ready   html   text   rom   http   something   VID   line   

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括号匹配的设置

标签:support   ready   html   text   rom   http   something   VID   line   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!