zoukankan      html  css  js  c++  java
  • 三. 括号提示插件 BracketHighlighter

    一. 配置 Bracket Setting -user

    {
    
    
        // Highlight style. Available options are: solid, outline, underline, none. ST3 has additional styles: thin_underline, squiggly, stippled.
    
    
        "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",
                // BH1's original default color for reference
                // "color": "entity.name.class",
                "color": "brackethighlighter.default",
                // "style": "underline"
            },
    
            // This particular style is used to highlight
            // unmatched bracket pairs.  It is a special
            // style.
            "unmatched": {
                "icon": "question",
                // "color": "brackethighlighter.unmatched",
                "style": "none"
            },
            // User defined region styles
            "curly": {
                "icon": "curly_bracket",
                // "color": "brackethighlighter.curly",
                "style": "none"
            },
            "round": {
                "icon": "round_bracket",
                // "color": "brackethighlighter.round",
                // "style": "underline"
                "style": "none"
            },
            "square": {
                "icon": "square_bracket",
                // "color": "brackethighlighter.square",
                // "style": "underline"
                "style": "none"
            },
            "angle": {
                "icon": "angle_bracket",
                // "color": "brackethighlighter.angle",
                // "style": "underline"
                "style": "none"
            },
            "tag": {
                "icon": "tag",
                // "color": "brackethighlighter.tag",
                "style": "none"
            },
            "c_define": {
                "icon": "hash",
                // "color": "brackethighlighter.c_define",
                // "style": "underline"
                "style": "none"
            },
            "single_quote": {
                "icon": "single_quote",
                // "color": "brackethighlighter.quote",
                "style": "none"
            },
            "double_quote": {
                "icon": "double_quote",
                // "color": "brackethighlighter.quote",
                "style": "none"
            },
            "regex": {
                "icon": "regex",
                // "color": "brackethighlighter.quote",
                // "style": "underline"
                "style": "none"
            }
        }
    }

    二. brackethighlighter使用

    1.Tools-Packages-Brackethighlighter  

    Toggle Global Enable  整体开关效果

    Toggle High Visibility  高可视化开关效果

     

     三. bracket 官方文档

    http://facelessuser.github.io/BracketHighlighter/

  • 相关阅读:
    Hibernate提供的内置标识符生成器
    ThreadLocal解析
    save()/saveOrUpdate()/merge()的区别
    Hibernate中主键生成策略
    session/SessionFactory线程非安全和线程安全
    load/get延迟加载和及时加载
    最长公共子序列:递归,非递归实现
    c语言,递归翻转一个单链表,c实现单链表
    最长递增子序列(Longest Increase Subsequence)
    求一串数字中——和最大的连续子序列; 求一串数字差值的绝对值最小的两个数字
  • 原文地址:https://www.cnblogs.com/non-clockwork-cheng/p/6504365.html
Copyright © 2011-2022 走看看