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 pairs with conflicting patterns problems #72177
Comments
Another example is As you can see, the first This also happens with most F# tokens that are two or more characters, e.g. array syntax |
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! |
🙂 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! |
Steps to Reproduce:
(*
and you will get(**))
.On the other hand, if you remove the ending ')' from the closing '*)' you almost get normal function, except that in cases where
(
doesn't auto close with)
, you get(**
.Note this condition exists in #57838, in a reference to the Structured Text Language, though it is not shown in the example on that feature request. Reference the repository https://github.com/Serhioromano/vscode-st for some example.
I think the Auto Closing logic needs to consider when auto closing pairs might conflict with each other. In this case, '(**)' overlaps with '()'.
The text was updated successfully, but these errors were encountered: