Open harleypig opened 11 years ago
I've been having the same problem, although I see a slightly different pain-point and expected result. For me the frustration comes from the fact that after I type "true", if I then type a space it inserts a second space rather than overwriting the one AutoClose inserted (which is what I would expect).
Any explanation, fix, or workaround would be greatly appreciated.
I prefer to have a space between my brackets and their contents in almost all cases. AutoClose works great for this, excepting one minor niggling little detail. Without AutoClose, I would type the following:
my $var = ( $self->is_true ) ? '1' : '0';
With AutoClose when I reach the 'e' in true the space has already been entered before the closing ), which is fine. But in order to continue past the closing paren I have to do 'Esc Shift-a' to continue typing. This breaks my flow a little.
Is there a way to say "if we've got an open paren and the user types a closing paren, just jump to the closing paren"?