Last active
May 8, 2017 09:03
-
-
Save tommyilpazzo/78575b945a158e11774d4d2837438abc to your computer and use it in GitHub Desktop.
Sublime: RegReplace Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ | |
"caption": "Reg Replace: Apex Format All", | |
"command": "reg_replace", | |
"args": { | |
"replacements": [ | |
"remove_empty_lines", | |
"add_empty_line_after_open_curly_bracket", | |
"add_empty_line_before_elseif", | |
"replace_system_debug", | |
"add_empty_line_before_methods1", | |
"add_empty_line_before_methods2", | |
"add_empty_line_before_methods3", | |
"add_empty_line_before_annotation", | |
"add_empty_line_before_testmethods" | |
], | |
"no_selection": true, | |
} | |
}, | |
{ | |
"caption": "Reg Replace: Apex Format Selection", | |
"command": "reg_replace", | |
"args": { | |
"replacements": [ | |
"remove_empty_lines", | |
"add_empty_line_after_open_curly_bracket", | |
"add_empty_line_before_elseif", | |
"replace_system_debug", | |
"add_empty_line_before_methods1", | |
"add_empty_line_before_methods2", | |
"add_empty_line_before_methods3", | |
"add_empty_line_before_annotation", | |
"add_empty_line_before_testmethods" | |
], | |
} | |
}, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment