Escaping \\ in snippet using \\\\ outputs only one backslash #33933
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
*question
Issue represents a question, should be posted to StackOverflow (VS Code)
snippets
Steps to Reproduce:
latex.json
(which is where user's tex snippet goes)Or by clicking
File
->Preferences
->User Snippets
and searchtex
.eqnmultiline
which will insert a code snippet as follows:And I'm expecting a
\\
at the end of the three foo lines, which I use\\\\
to escape. But the result is one\
at each line.Snippet Grammer says using
\
to escape\
. So I'm wondering if this is a bug.Reproduces without extensions:
Correct Sorry for not testing using suggested
code --disable-extensions
before because I missed that line in comment . Tried it today and after disabling extensions, I cannot insert tex snippets even through Command Palette. It tells methere are no entries to pick from
The text was updated successfully, but these errors were encountered: