A
A
applecode2018-07-15 09:40:59
Visual Studio Code
applecode, 2018-07-15 09:40:59

VS code doesn't see custom snippets, what's wrong?

I wanted to try creating a custom snippet for php. Went into user code snippets, chose php.json. Wrote this code

"php_start": {
    "prefix": "php",
    "body": [
      "<?php $1 ?>"
    ],
    "description": "php code"
  }

But when entering php custom snippet is not in autocompletion

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WhiteHoney, 2018-08-02
@applecode

{
"php_start": {
"prefix": "php",
"body": [
"<?php $1 ?>"
],
"description": "php code"
}
Forgot the square brackets at the top

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question