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
Auto closing brackets should try to balance brackets #6841
Comments
Auto closing brackets are not taking language semantics into account |
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
Where would one upvote the issue? Just as I did, by giving a thumbs-up on the bot's message? |
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation. Happy Coding |
@schokotets You upvote an issue by leaving a thumbs-up on the first comment (the issue description), not on the bot's message. |
🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
When implemented this new option could potentially replace the current "beforeWhitespace". As of now, typing in a TypeScript file has the following inconsistent behaviors: Scenario 1
Scenario 2
Scenario 3
Only the last scenario produces the expected behavior and in the previous two are both undesired (from a practical standpoint) and inconsistent behaviors. vsc: 1.60.1 |
Any progress on this? I'm surprised this isn't still implemented. |
Steps to Reproduce:
Auto-complete adds in a closing bracket when the closing bracket at the end of the config is showing an error. It would make sense that bracket auto-complete would know that there is an open bracket and to not add the closing bracket at the top.
The text was updated successfully, but these errors were encountered: