sublime-imba
sublime-imba copied to clipboard
Automate double pipe
Unless cursor is within a string, the | should always appear in pairs so that it behaves just like a string.
EG: ' always triggers '' with the cursor in between quotes; same for doubles.
With the exception of regex and strings, the pipe is never alone.
Perhaps, instead, a do snippet should be added?
do + (tab) ==> do ${1:| |}.
1st tab is ability to delete entire parameter. 2nd tab is enter the parameter. 3rd is next line, indented