Skip to content

Commit a9b149a

Browse files
committed
update version#, fix package.json
1 parent 5096cd6 commit a9b149a

File tree

2 files changed

+73
-77
lines changed

2 files changed

+73
-77
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
## Release history
44

5-
### DEVELOPING
6-
* add protobuf support(work with https://marketplace.visualstudio.com/items?itemName=peterj.proto)
5+
### v 0.9.0
6+
* add protobuf support (work with https://marketplace.visualstudio.com/items?itemName=peterj.proto)
77
* add javascript/typescript support
88
* allow different style & fallback style option for different languages
9-
* format on save is available now(just like https://github.com/Microsoft/vscode-go/blob/master/src/goMain.ts)
9+
* format on save is available now (just like https://github.com/Microsoft/vscode-go/blob/master/src/goMain.ts)
1010

1111
### v 0.6.1
1212
* clean up dependencies #9
@@ -34,5 +34,4 @@
3434
If clang-format is installed and in PATH, C/C++ etc source files can be formatted with Visual Studio Code's built-in formatter (Usually: Ctrl+Shift+F).
3535

3636
## Source code
37-
3837
Available on github: https://github.com/xaverh/vscode-clang-format-provider

package.json

Lines changed: 70 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"name": "clang-format",
33
"displayName": "Clang-Format",
44
"description": "Use Clang-Format in Visual Studio Code",
5-
"version": "0.6.1",
5+
"version": "0.9.0",
66
"publisher": "xaver",
77
"engines": {
88
"vscode": "^1.0.0"
99
},
1010
"dependencies": {
11-
"sax" : "^1.1.5"
11+
"sax": "^1.1.5"
1212
},
1313
"categories": [
1414
"Other"
@@ -34,93 +34,90 @@
3434
"description": "Run 'clang-format' on save."
3535
},
3636
"clang-format.executable": {
37-
"type": "string",
38-
"default": "clang-format",
39-
"description": "clang-format executable path"
40-
},
41-
// style
37+
"type": "string",
38+
"default": "clang-format",
39+
"description": "clang-format executable path"
40+
},
4241
"clang-format.style": {
43-
"type": "string",
44-
"default": "file",
45-
"description": "clang-format style.(-style=value, value can be file, LLVM, Google, Chromium, Mozilla, WebKit or json configure)"
46-
},
47-
// fallback style
42+
"type": "string",
43+
"default": "file",
44+
"description": "clang-format style.(-style=value, value can be file, LLVM, Google, Chromium, Mozilla, WebKit or json configure)"
45+
},
4846
"clang-format.fallbackStyle": {
49-
"type": "string",
50-
"default": "LLVM",
51-
"description": "clang-format fallback style.(-fallback-style=value, value can be none, LLVM, Google, Chromium, Mozilla, WebKit)"
52-
},
53-
// every language can has it's own style & fallback style option, if not confirured, use the default value above
47+
"type": "string",
48+
"default": "LLVM",
49+
"description": "clang-format fallback style.(-fallback-style=value, value can be none, LLVM, Google, Chromium, Mozilla, WebKit)"
50+
},
5451
"clang-format.language.cpp.style": {
55-
"type": "string",
56-
"default": "",
57-
"description": "clang-format fallback style for c++, left empty to use clang-format.style"
58-
},
52+
"type": "string",
53+
"default": "",
54+
"description": "clang-format fallback style for c++, left empty to use clang-format.style"
55+
},
5956
"clang-format.language.cpp.fallbackStyle": {
60-
"type": "string",
61-
"default": "",
62-
"description": "clang-format fallback style for c++, left empty to use clang-format.fallbackStyle"
63-
},
57+
"type": "string",
58+
"default": "",
59+
"description": "clang-format fallback style for c++, left empty to use clang-format.fallbackStyle"
60+
},
6461
"clang-format.language.c.style": {
65-
"type": "string",
66-
"default": "",
67-
"description": "clang-format fallback style for c, left empty to use clang-format.style"
68-
},
62+
"type": "string",
63+
"default": "",
64+
"description": "clang-format fallback style for c, left empty to use clang-format.style"
65+
},
6966
"clang-format.language.c.fallbackStyle": {
70-
"type": "string",
71-
"default": "",
72-
"description": "clang-format fallback style for c, left empty to use clang-format.fallbackStyle"
73-
},
67+
"type": "string",
68+
"default": "",
69+
"description": "clang-format fallback style for c, left empty to use clang-format.fallbackStyle"
70+
},
7471
"clang-format.language.objective-c.style": {
75-
"type": "string",
76-
"default": "",
77-
"description": "clang-format fallback style for objective-c, left empty to use clang-format.style"
78-
},
72+
"type": "string",
73+
"default": "",
74+
"description": "clang-format fallback style for objective-c, left empty to use clang-format.style"
75+
},
7976
"clang-format.language.objective-c.fallbackStyle": {
80-
"type": "string",
81-
"default": "",
82-
"description": "clang-format fallback style for objective-c, left empty to use clang-format.fallbackStyle"
83-
},
77+
"type": "string",
78+
"default": "",
79+
"description": "clang-format fallback style for objective-c, left empty to use clang-format.fallbackStyle"
80+
},
8481
"clang-format.language.java.style": {
85-
"type": "string",
86-
"default": "",
87-
"description": "clang-format fallback style for java, left empty to use clang-format.style"
88-
},
82+
"type": "string",
83+
"default": "",
84+
"description": "clang-format fallback style for java, left empty to use clang-format.style"
85+
},
8986
"clang-format.language.java.fallbackStyle": {
90-
"type": "string",
91-
"default": "",
92-
"description": "clang-format fallback style for java, left empty to use clang-format.fallbackStyle"
93-
},
87+
"type": "string",
88+
"default": "",
89+
"description": "clang-format fallback style for java, left empty to use clang-format.fallbackStyle"
90+
},
9491
"clang-format.language.javascript.style": {
95-
"type": "string",
96-
"default": "",
97-
"description": "clang-format fallback style for javascript, left empty to use clang-format.style"
98-
},
92+
"type": "string",
93+
"default": "",
94+
"description": "clang-format fallback style for javascript, left empty to use clang-format.style"
95+
},
9996
"clang-format.language.javascript.fallbackStyle": {
100-
"type": "string",
101-
"default": "",
102-
"description": "clang-format fallback style for javascript, left empty to use clang-format.fallbackStyle"
103-
},
97+
"type": "string",
98+
"default": "",
99+
"description": "clang-format fallback style for javascript, left empty to use clang-format.fallbackStyle"
100+
},
104101
"clang-format.language.typescript.style": {
105-
"type": "string",
106-
"default": "",
107-
"description": "clang-format fallback style for typescript, left empty to use clang-format.style"
108-
},
102+
"type": "string",
103+
"default": "",
104+
"description": "clang-format fallback style for typescript, left empty to use clang-format.style"
105+
},
109106
"clang-format.language.typescript.fallbackStyle": {
110-
"type": "string",
111-
"default": "",
112-
"description": "clang-format fallback style for typescript, left empty to use clang-format.fallbackStyle"
113-
},
107+
"type": "string",
108+
"default": "",
109+
"description": "clang-format fallback style for typescript, left empty to use clang-format.fallbackStyle"
110+
},
114111
"clang-format.language.proto.style": {
115-
"type": "string",
116-
"default": "",
117-
"description": "clang-format fallback style for proto, left empty to use clang-format.style"
118-
},
112+
"type": "string",
113+
"default": "",
114+
"description": "clang-format fallback style for proto, left empty to use clang-format.style"
115+
},
119116
"clang-format.language.proto.fallbackStyle": {
120-
"type": "string",
121-
"default": "",
122-
"description": "clang-format fallback style for proto, left empty to use clang-format.fallbackStyle"
123-
}
117+
"type": "string",
118+
"default": "",
119+
"description": "clang-format fallback style for proto, left empty to use clang-format.fallbackStyle"
120+
}
124121
}
125122
}
126123
},

0 commit comments

Comments
 (0)