[ { "keys": ["super+j"], "command": "jsdocs_join", "context": [ { "key": "selector", "operator": "equal", "operand": "comment.block" } ] }, { "keys": ["super+j"], "command": "jsdocs_join", "context": [ { "key": "selector", "operator": "equal", "operand": "comment.line" } ] }, { "keys": ["super+alt+q"], "command": "jsdocs_wrap_lines", "context": [ { "key": "selector", "operator": "equal", "operand": "comment.block", "match_all": true } ] }, // add line after, in a DocBlock { "keys": ["super+enter"], "command": "run_macro_file", "args": {"file": "Packages/DocBlockr/Add DocBlockr Line.sublime-macro"}, "context": [ { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, { "key": "selector", "operator": "equal", "operand": "comment.block", "match_all": true }, { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\*", "match_all": true } ] }, // add line before, in a DocBlock { "keys": ["super+shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/DocBlockr/Add DocBlockr Line Before.sublime-macro"}, "context": [ { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, { "key": "selector", "operator": "equal", "operand": "comment.block", "match_all": true }, { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\*", "match_all": true } ] } ]