D
D
DeniSidorenko2018-11-02 15:00:20
Visual Studio Code
DeniSidorenko, 2018-11-02 15:00:20

Emmet not working for php, visual studio code?

Good afternoon, I use visual studio code, for html, css , stylus, jade , emmet works fine. But for php nothing. If I write php and press tab - only the inscriptionphp_check_syntax

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Gormash, 2019-06-20
@kanonir1886

Perhaps it will be useful to someone:
Settings> user snippets
and paste this code:

{
    "php" : {
    "prefix": "php",
    "body": [
      "<?php $1 ?>"
    ],
    "description": "Expand PHP Tags"
   }
}

We save, restart vs code and everything works.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question