Added test for autocomplete info added to tag and attr

This commit is contained in:
Patrick Steele-Idem 2016-06-07 10:40:28 -06:00
parent 49b86ffad1
commit 847b2b4098
6 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1 @@
Hello Frank!

View File

@ -0,0 +1,3 @@
{
"tags-dir": "./tags"
}

View File

@ -0,0 +1,21 @@
{
"renderer": "./renderer.js",
"@name": "string",
"@foo": {
"type": "number",
"autocomplete": [
{
"snippet": "foo=abc"
},
{
"snippet": "foo=def"
}
]
},
"autocomplete": [
{
"displayText": "test-hello foo=${1:bar}",
"snippet": "test-hello foo=$1"
}
]
}

View File

@ -0,0 +1,3 @@
exports.render = function(input, out) {
out.write('Hello ' + input.name + '!');
};

View File

@ -0,0 +1 @@
<test-hello name="Frank"></test-hello>

View File

@ -0,0 +1 @@
exports.templateData = {};