Fixed snippets

This commit is contained in:
Tobe O 2018-11-12 03:33:16 -05:00
parent 2596b53813
commit 5509c87034
2 changed files with 11 additions and 9 deletions

View file

@ -22,22 +22,22 @@
"flutter",
"fuchsia"
],
"snippets": [
{
"language": "dart",
"path": "./snippets/angel.json"
}
],
"activationEvents": [
"_activationEvents": [
"onCommand:extension.sayHello"
],
"main": "./out/extension",
"_main": "./out/extension",
"contributes": {
"commands": [
"_commands": [
{
"command": "extension.sayHello",
"title": "Hello World"
}
],
"snippets": [
{
"language": "dart",
"path": "./snippets/angel.json"
}
]
},
"scripts": {

View file

@ -12,6 +12,7 @@
" String hello() {",
" return 'Hello, world';",
" }",
" $2",
"}"
]
},
@ -28,6 +29,7 @@
" void hello(WebSocketContext socket) {",
" socket.send('pong', {'message': 'Hello, world!'});",
" }",
" $2",
"}"
]
},