1. 程式人生 > >sublime text3 BracketHighlighter括號匹配的設定

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" // } } }