Files
owl/tools/owl-vision/snippets/component.json
T
Bastien Fafchamps (bafa) 34489a2494 [IMP] owl-vision: syntax scripts, single quotes attributes and slot props highlight and switch below command
This commit adds the following:

- Syntax builder scripts to make syntaxes easier to read and edit
- Syntax highlight in single quote attributes
- Syntax highlight for slot props
- Basic syntax highlight for xpaths
- Added `Switch Below` command

This commit fixes the following:

- Using `Switch Besides` or `Switch Below` does not open a new panel if one was already open
- Fixed missing space in component's snippet indentation
2023-11-02 14:38:31 +01:00

19 lines
490 B
JSON

{
"Basic owl component": {
"prefix": "owlcomponent",
"body": [
"export class ${1:component-name} extends Component {",
" static template = \"${2:template-name}\";",
" static components = {};",
" static props = {};",
"",
" setup() {",
"",
" }",
"}",
""
],
"description": "The starting base for an owl component"
}
}