G
G
Gretiy2021-12-09 14:51:46
Visual Studio Code
Gretiy, 2021-12-09 14:51:46

How to set up a complex vscode snippet?

Hello, if you write
div.mydivand press tab you will get But I want to add a snippet so that typing will work How to do this You can make a snippet for one word<div class="mydiv"></div>
div:mydiv<div :class="$style['mydiv']"></div>

{
  "i18n": {
    "prefix": "i18n",
    "body": [
      "<i18n>"
      "{"
        "	\"$0\": {"
        "		\"$1\": \"$2\","
        "	},"
      "}"
      "</i18n>"
    ],
    "description": "i18n"
  }
}
, but as for two

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question