美文网首页
Sublime自动跳出括号

Sublime自动跳出括号

作者: v0cbc | 来源:发表于2017-02-20 23:13 被阅读525次

    原文

    Sublime 中打开Preferences-->Key Bindings

    输入:

    [
    {"keys": ["enter"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
        [
            { "key": "following_text", "operator": "regex_contains", "operand": "^[)\\]\\>\\'\\\"\\ %>\\}\\;\\,]", "match_all": true },
            { "key": "preceding_text", "operator": "not_regex_match", "operand": "^.*\\{$", "match_all": true  },
            { "key": "auto_complete_visible", "operator": "equal", "operand": false }
        ]
    }
    ]
    

    保存

    相关文章

      网友评论

          本文标题:Sublime自动跳出括号

          本文链接:https://www.haomeiwen.com/subject/schywttx.html