Criando Snippets no Visual Studio Code (VsCode)
Olá pessoal, nesse post eu trago para vocês como criar snippets no Visual Studio Code (VsCode). Como pré requisitos precisamos de: Ter o editor de código Visual Studio Code: https://code.visualstudio.com/ Para iniciar vamos abrir as configurações do Visual Studio Code com o comando "CTRL+SHIFT+P", agora vamos digitar "snippet" e depois clicar em "configure user snippets". Vamos selecionar "new global snippets file" e dar um nome a ele. Após definir um nome, um arquivo .json será criado com o código do snippet todo comentado. { // Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is // used to trigger the snippet and the body will be expanded and inserted. Possible vari...