electric parens, etc
Submitted by Wednesday, 11 July, 2012 - 18:05
on
As a rails coder, I end up doing a bunch of
<% code %>
and also
<div ...>
There does not seem to be a way to make <>'s electric - or even <% %>. Nor can I seem to do that using superabbrev - <TAB fails to autocomplete the abbrev I made. My guess is that it's ignoring the non-alpha character left of the cursor when I hit TAB.
I'm hoping someone else has solved this. Seems like someone must have! If not, I guess I could throw some code at it...
TIA,
Kurt
<% code %>
and also
<div ...>
There does not seem to be a way to make <>'s electric - or even <% %>. Nor can I seem to do that using superabbrev - <TAB fails to autocomplete the abbrev I made. My guess is that it's ignoring the non-alpha character left of the cursor when I hit TAB.
I'm hoping someone else has solved this. Seems like someone must have! If not, I guess I could throw some code at it...
TIA,
Kurt