[quote=āphillip.koebbeā]I like what youāre trying to do with Gobble, but I just encountered a point of contention regarding auto indent.
Consider creating a new function in Ruby:
def new_function
end
I donāt use a lot of snippets, so when I do this, I type ādef new_functionā and then ENTER, and with auto indenting, the insertion point would be on the next line but indented one more level:
def new_function<enter>
|<insertion point>
My normal practice is to then press ENTER again to go to the next line, BACKSPACE to back up one indentation level and type āendā. But with Gobble, I canāt. When I press BACKSPACE, I go back to the previous line. So I either need to not use auto indent (unlikely) or SHIFT+TAB instead of BACKSPACE before typing āendā. Iām not sure which is better. Iāll have to play with it a bit and see what I think.
[Or I could just start using a snippet and save myself from typing āendā a lot! ]
Either way, thanks for making the Sublime Community a little better![/quote]
Hi Phillip, facelessuser,
I figured out a fix for this - a way you can use Gobble and still work easily using your older muscle memory.
If you press backspace on an empty line (say after finishing a function block and wanting to type āendā) - it will only go back one level of indentation!!
Do try it out and let me know how it works!