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
cant add parenthesis when cursor precedes an existing parenthesis #35799
Comments
This can be turned off via
The feature is implemented language agnostic and looks only locally at the next character. It does not count brackets to determine if the code is "bracket unbalanced" |
Thanks for the info. I've disabled it for my purposes since it can create room for accidental bugs in the code, by not recognizing intended closing brackets when entered. If the second scenario you described were either improved (by not being just local) or else remove the second scenario handling entirely, then the auto-close feature might be more usable. Just a thought. |
I want add parenthesis when cursor precedes an existing parenthesis. |
/duplicate #37315 |
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines. Happy Coding! |
Steps to Reproduce:
e.g. enter this code which is missing a 3rd closing parenthesis
console.log(_.isEmpty(JSON.parse(myObject));
Reproduces without extensions: Yes
The text was updated successfully, but these errors were encountered: