改善
Kaizen  · Today I Learned by Ville Säävuori

VSCode Custom Snippets

Adding custom snippets in VSCode is easy. Open Preferences -> User Snippets, add following to the global snippets file:

  "console.log": {
    "scope": "html,vue,javascript,typescript",
    "prefix": "cl",
    "body": "console.log($0)",
    "description": "Insert console log statement"
  }

Now I get a console log statement when typing cl + TAB.