You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 16, 2019. It is now read-only.
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"?
The text was updated successfully, but these errors were encountered:
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.
This feature skips the spaces when inserting a close pair.
TODO: Turn into a simple toggle.
Fix issue Townk#54 of the upstream repo.
Credit to bentomas@6a54ce6
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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"?
The text was updated successfully, but these errors were encountered: