R
R
Ruslan Website2021-06-07 15:11:16
Visual Studio Code
Ruslan Website, 2021-06-07 15:11:16

Why doesn't the php variable $ icon appear when pasting a VS Code snippet?

There is such a snippet
60be0c6050941274757139.png

But when using it, the $ variable icon is not added to the file with the php extension.
60be0cb5a435c120397791.png

Moreover, if you put this dollar in another place in the snippet, it appears when used, but not in front of the variable, what's the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
iBird Rose, 2021-06-07
@Sadyrbaev

As far as I remember, in snippets $ is responsible for the cursor position after the snippet is called. shield it.
try using \\$
well, or google how to escape it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question