Skip to content

Instantly share code, notes, and snippets.

@tommyilpazzo
Last active May 8, 2017 09:03
Show Gist options
  • Save tommyilpazzo/78575b945a158e11774d4d2837438abc to your computer and use it in GitHub Desktop.
Save tommyilpazzo/78575b945a158e11774d4d2837438abc to your computer and use it in GitHub Desktop.
Sublime: RegReplace Commands
[
{
"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