Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio code user snippets not working for php [closed]

Visual studio code user snippets not working for php. Have restarted VS code and the PC. Still does not work.

User snippet code:

enter image description here

No snippet shows up:

enter image description here

Visual studio code version:

enter image description here

like image 338
Kinder Cappy Avatar asked Oct 26 '25 13:10

Kinder Cappy


1 Answers

Put it in the html snippets file. It is what php files use unless you are inside <?php ?> tags.

like image 149
Carl Brubaker Avatar answered Oct 28 '25 02:10

Carl Brubaker



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!