Skip to content

Commit faf810f

Browse files
committed
v0.1.4
1 parent e5a0b07 commit faf810f

File tree

3 files changed

+103
-100
lines changed

3 files changed

+103
-100
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Vue 2 Snippets for Visual Studio code
1+
# Vue 2 Snippets for Visual Studio Code
22

33
This extension adds Vue 2 Code Snippets and Syntax Highlight into Visual Studio Code.
44

@@ -9,9 +9,9 @@ This extension adds Vue 2 Code Snippets and Syntax Highlight into Visual Studio
99

1010

1111
### It looks like:
12-
![](img/show1.png)
12+
![](https://github.com/raw/hollowtree/vscode-vue-snippets/master/img/show1.png)
1313

14-
![](img/show2.png)
14+
![](https://github.com/raw/hollowtree/vscode-vue-snippets/master/img/show2.png)
1515

1616

1717
### Snippets
@@ -126,7 +126,6 @@ Including most of the API of Vue.js 2. You can type `vcom`, choose `VueConfigOpt
126126
### Base on
127127
[vue-syntax-highlight (vue.tmLanguage)](https://github.com/vuejs/vue-syntax-highlight/blob/master/vue.tmLanguage)
128128

129-
130129
--------------------------------------
131130
##### 2017/03/12 (0.1.1)
132131
* Add support .pug files (thanks to [Gregory Bass](https://github.com/GriNAME))
@@ -136,7 +135,7 @@ Including most of the API of Vue.js 2. You can type `vcom`, choose `VueConfigOpt
136135

137136
##### 2016/12/31 (0.0.10)
138137
* Update newest api sinppets (like `v-else-if` / `Vue.config.ignoredElements` and so on)
139-
* fix a bug (before: `vm.off`,after:`vm.$off`)
138+
* Fix a bug (before: `vm.off`,after:`vm.$off`)
140139

141140
##### 2016/12/15 (0.0.9)
142141
* Update newest syntax highlight file
@@ -147,7 +146,7 @@ Including most of the API of Vue.js 2. You can type `vcom`, choose `VueConfigOpt
147146
* Update readme
148147

149148
##### 2016/10/18 (0.0.7)
150-
* Fix `v-for` snippet
149+
* Fix `v-for` snippet (thanks to [Daniel D](https://github.com/djx339))
151150

152151
##### 2016/10/18 (0.0.6)
153152
* Publish failed
@@ -160,4 +159,4 @@ Including most of the API of Vue.js 2. You can type `vcom`, choose `VueConfigOpt
160159

161160
##### 2016/09/30 (0.0.1)
162161
* Add code snippets
163-
* Add syntax highlight
162+
* Add syntax highlight

img/logo.png

-59.5 KB
Loading

package.json

Lines changed: 97 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,99 @@
11
{
2-
"name": "vue-snippets",
3-
"displayName": "Vue 2 Snippets",
4-
"author": "hollowtree",
5-
"publisher": "hollowtree",
6-
"icon": "img/logo.png",
7-
"description": "A Vue.js 2 Extension",
8-
"license": "MIT",
9-
"version": "0.1.1",
10-
"engines": {
11-
"vscode": "^1.5.0"
12-
},
13-
"keywords": [
14-
"javascript",
15-
"snippet",
16-
"vue",
17-
"vue 2"
18-
],
19-
"categories": [
20-
"Languages",
21-
"Snippets"
22-
],
23-
"repository": {
24-
"type": "git",
25-
"url": "https://github.com/hollowtree/vscode-vue-snippets"
26-
},
27-
"bugs": {
28-
"url": "https://github.com/hollowtree/vscode-vue-snippets/issues",
29-
"email": "[email protected]"
30-
},
31-
"contributes": {
32-
"languages": [
33-
{
34-
"id": "vue",
35-
"aliases": [
36-
"Vue",
37-
"vue"
38-
],
39-
"extensions": [
40-
".vue"
41-
],
42-
"configuration": "./syntaxes/vue.configuration.json"
43-
}
44-
],
45-
"grammars": [
46-
{
47-
"language": "vue",
48-
"scopeName": "text.html.vue",
49-
"path": "./syntaxes/vue.tmLanguage"
50-
}
51-
],
52-
"snippets": [
53-
{
54-
"language": "javascript",
55-
"path": "./snippets/javascript.json"
56-
},
57-
{
58-
"language": "typescript",
59-
"path": "./snippets/javascript.json"
60-
},
61-
{
62-
"language": "html",
63-
"path": "./snippets/javascript.json"
64-
},
65-
{
66-
"language": "html",
67-
"path": "./snippets/html.json"
68-
},
69-
{
70-
"language": "html",
71-
"path": "./snippets/vue.json"
72-
},
73-
{
74-
"language": "vue",
75-
"path": "./snippets/javascript.json"
76-
},
77-
{
78-
"language": "vue",
79-
"path": "./snippets/html.json"
80-
},
81-
{
82-
"language": "vue",
83-
"path": "./snippets/vue.json"
84-
},
85-
{
86-
"language": "jade",
87-
"path": "./snippets/pug.json"
88-
},
89-
{
90-
"language": "pug",
91-
"path": "./snippets/pug.json"
92-
}
93-
]
94-
}
2+
"name": "vue-snippets",
3+
"displayName": "Vue 2 Snippets",
4+
"author": "hollowtree",
5+
"publisher": "hollowtree",
6+
"icon": "img/logo.png",
7+
"description": "A Vue.js 2 Extension",
8+
"license": "MIT",
9+
"version": "0.1.4",
10+
"engines": {
11+
"vscode": "^1.5.0"
12+
},
13+
"keywords": [
14+
"javascript",
15+
"snippet",
16+
"vue",
17+
"vue 2"
18+
],
19+
"categories": [
20+
"Languages",
21+
"Snippets"
22+
],
23+
"repository": {
24+
"type": "git",
25+
"url": "https://github.com/hollowtree/vscode-vue-snippets"
26+
},
27+
"bugs": {
28+
"url": "https://github.com/hollowtree/vscode-vue-snippets/issues",
29+
"email": "[email protected]"
30+
},
31+
"contributes": {
32+
"languages": [
33+
{
34+
"id": "vue",
35+
"aliases": [
36+
"Vue",
37+
"vue"
38+
],
39+
"extensions": [
40+
".vue"
41+
],
42+
"configuration": "./syntaxes/vue.configuration.json"
43+
}
44+
],
45+
"grammars": [
46+
{
47+
"language": "vue",
48+
"scopeName": "text.html.vue",
49+
"path": "./syntaxes/vue.tmLanguage"
50+
}
51+
],
52+
"snippets": [
53+
{
54+
"language": "javascript",
55+
"path": "./snippets/javascript.json"
56+
},
57+
{
58+
"language": "typescript",
59+
"path": "./snippets/javascript.json"
60+
},
61+
{
62+
"language": "html",
63+
"path": "./snippets/javascript.json"
64+
},
65+
{
66+
"language": "html",
67+
"path": "./snippets/html.json"
68+
},
69+
{
70+
"language": "vue-html",
71+
"path": "./snippets/html.json"
72+
},
73+
{
74+
"language": "html",
75+
"path": "./snippets/vue.json"
76+
},
77+
{
78+
"language": "vue",
79+
"path": "./snippets/javascript.json"
80+
},
81+
{
82+
"language": "vue",
83+
"path": "./snippets/html.json"
84+
},
85+
{
86+
"language": "vue",
87+
"path": "./snippets/vue.json"
88+
},
89+
{
90+
"language": "jade",
91+
"path": "./snippets/pug.json"
92+
},
93+
{
94+
"language": "pug",
95+
"path": "./snippets/pug.json"
96+
}
97+
]
98+
}
9599
}

0 commit comments

Comments
 (0)