Closed BojanStipic closed 8 years ago
@BojanStipic Can you try two backslashes? Eg \\$3
.
@50Wliu It does work correctly with two backslashes, but I am now curious why would I need two backslashes? I can't find documentation where that is stated.
@BojanStipic CSON escapes the first backslash before passing it to the snippet parser, which then escapes the second backslash, which is why you need two. In fact, in order to actually display a backslash, you need to quadruple-escape it: \\\\
:P.
For example, I have the following snippet for GAS:
Expected behavior: dollar sign gets escaped and it generates:
Instead, \$3 and \$0 creates a new tab stop.