Allow top level text
to not escape }
when it is not part of the ${}
#2033
Labels
Milestone
text
to not escape }
when it is not part of the ${}
#2033
Currently snippet grammar states the following:
This means that
}
should be escaped even when not used as closing part of${}
. For example, in this snippet string:hello {world\\}
.However, it introduces friction for languages which use
{}
(which are many, I'd say).VS Code also seems to allow not escaping
}
in the top level context (here is one example).Proposal: allow top level
text
to not escape}
. I believe this can be encapsulated in the following change to the grammar:Patch for changing grammar
The text was updated successfully, but these errors were encountered: