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

sublime3插件BracketHighlighter的配置

时间:2018-04-30 19:57:57      阅读:128      评论:0      收藏:0      [点我收藏+]

标签:ESS   插件   配置   代码   括号   highlight   name   https   def   

BracketHighlighter插件能为Sublime Text提供括号,引号这类高亮功能,但安装此插件后,默认没有高亮,只有下划线表示,不是很醒目,需要配置:
1.在Sublime Text中用package control安装BracketHighlighter
2.安装完成后,打开Preferences -> package settings -> Bracket Highlighter -> Bracket Settings – User,然后 添加如下代码:

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

}


转载自:https://www.cnblogs.com/willingtolove/p/4657320.html

sublime3插件BracketHighlighter的配置

标签:ESS   插件   配置   代码   括号   highlight   name   https   def   

原文地址:https://www.cnblogs.com/justaman/p/8974051.html

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