{ "Basic OWL Component": { "prefix": "owlcomponent", "scope": "javascript,typescript", "body": [ "import { Component } from \"@odoo/owl\";", "", "class ${1:${TM_FILENAME_BASE/(.*)/${1:/pascalcase}/g}} extends ${2:Component} {", "", " static template = \"${3:${RELATIVE_FILEPATH/(.*[\\|\\/])??([a-zA-Z_]+)([\\|\\/]static[\\|\\/].*)/${2}/g}}.${4:${TM_FILENAME_BASE/(.*)/${1:/pascalcase}/g}}\";", " static components = {};", " static props = {};", "", " setup() {", " ${5:super.setup();}", " }", "", " ${6:// Do Something}", "}", "" ], "description": "The starting base for an owl component" }, "Basic OWL Template": { "prefix": "owltemplate", "scope": "xml", "body": [ "", "", "", "", " ", " ${3:

Hello World

}", "
", "", "
", "" ], "description": "Generate a basic OWL template XML file" } }