Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocompletion eating final ")" #1791

Closed
aldem opened this issue Sep 5, 2018 · 0 comments
Closed

Autocompletion eating final ")" #1791

aldem opened this issue Sep 5, 2018 · 0 comments

Comments

@aldem
Copy link

aldem commented Sep 5, 2018

Not sure if this is related to #1566 or independent, but there is a case for nested () (plugin 2018.2.1, IDE #IU-182.4129.33).

When I start typing "foreach (", I get:

foreach ()

Cursor is positioned after "(". Then I start to type "qw(", and get:

foreach (qw()

Thus, one ")" is removed. "foreach" is actually irrelevant as it does the same for just single "(" followed by "qw(". Looks like this issue is tightly linked to quoting operators (qw/qr etc) - as sub invocation instead of qw works as expected, simple nesting has no problems too.

It similary behaves in some cases for nested {} and [] though I could not identify exactly when (it depends on context and complexity of surrounding blocks), next time I see it I will report it.

hurricup added a commit that referenced this issue Oct 10, 2018
Fixes #1791

Todo: backspace and delete handling
hurricup added a commit that referenced this issue Oct 11, 2018
@hurricup hurricup added this to the 2018.3 milestone Oct 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants