Skip to content

Commit

Permalink
update version#, fix package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
xaverh committed Jun 25, 2016
1 parent 5096cd6 commit a9b149a
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 77 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

## Release history

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

### v 0.6.1
* clean up dependencies #9
Expand Down Expand Up @@ -34,5 +34,4 @@
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).

## Source code

Available on github: https://github.com/xaverh/vscode-clang-format-provider
143 changes: 70 additions & 73 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"name": "clang-format",
"displayName": "Clang-Format",
"description": "Use Clang-Format in Visual Studio Code",
"version": "0.6.1",
"version": "0.9.0",
"publisher": "xaver",
"engines": {
"vscode": "^1.0.0"
},
"dependencies": {
"sax" : "^1.1.5"
"sax": "^1.1.5"
},
"categories": [
"Other"
Expand All @@ -34,93 +34,90 @@
"description": "Run 'clang-format' on save."
},
"clang-format.executable": {
"type": "string",
"default": "clang-format",
"description": "clang-format executable path"
},
// style
"type": "string",
"default": "clang-format",
"description": "clang-format executable path"
},
"clang-format.style": {
"type": "string",
"default": "file",
"description": "clang-format style.(-style=value, value can be file, LLVM, Google, Chromium, Mozilla, WebKit or json configure)"
},
// fallback style
"type": "string",
"default": "file",
"description": "clang-format style.(-style=value, value can be file, LLVM, Google, Chromium, Mozilla, WebKit or json configure)"
},
"clang-format.fallbackStyle": {
"type": "string",
"default": "LLVM",
"description": "clang-format fallback style.(-fallback-style=value, value can be none, LLVM, Google, Chromium, Mozilla, WebKit)"
},
// every language can has it's own style & fallback style option, if not confirured, use the default value above
"type": "string",
"default": "LLVM",
"description": "clang-format fallback style.(-fallback-style=value, value can be none, LLVM, Google, Chromium, Mozilla, WebKit)"
},
"clang-format.language.cpp.style": {
"type": "string",
"default": "",
"description": "clang-format fallback style for c++, left empty to use clang-format.style"
},
"type": "string",
"default": "",
"description": "clang-format fallback style for c++, left empty to use clang-format.style"
},
"clang-format.language.cpp.fallbackStyle": {
"type": "string",
"default": "",
"description": "clang-format fallback style for c++, left empty to use clang-format.fallbackStyle"
},
"type": "string",
"default": "",
"description": "clang-format fallback style for c++, left empty to use clang-format.fallbackStyle"
},
"clang-format.language.c.style": {
"type": "string",
"default": "",
"description": "clang-format fallback style for c, left empty to use clang-format.style"
},
"type": "string",
"default": "",
"description": "clang-format fallback style for c, left empty to use clang-format.style"
},
"clang-format.language.c.fallbackStyle": {
"type": "string",
"default": "",
"description": "clang-format fallback style for c, left empty to use clang-format.fallbackStyle"
},
"type": "string",
"default": "",
"description": "clang-format fallback style for c, left empty to use clang-format.fallbackStyle"
},
"clang-format.language.objective-c.style": {
"type": "string",
"default": "",
"description": "clang-format fallback style for objective-c, left empty to use clang-format.style"
},
"type": "string",
"default": "",
"description": "clang-format fallback style for objective-c, left empty to use clang-format.style"
},
"clang-format.language.objective-c.fallbackStyle": {
"type": "string",
"default": "",
"description": "clang-format fallback style for objective-c, left empty to use clang-format.fallbackStyle"
},
"type": "string",
"default": "",
"description": "clang-format fallback style for objective-c, left empty to use clang-format.fallbackStyle"
},
"clang-format.language.java.style": {
"type": "string",
"default": "",
"description": "clang-format fallback style for java, left empty to use clang-format.style"
},
"type": "string",
"default": "",
"description": "clang-format fallback style for java, left empty to use clang-format.style"
},
"clang-format.language.java.fallbackStyle": {
"type": "string",
"default": "",
"description": "clang-format fallback style for java, left empty to use clang-format.fallbackStyle"
},
"type": "string",
"default": "",
"description": "clang-format fallback style for java, left empty to use clang-format.fallbackStyle"
},
"clang-format.language.javascript.style": {
"type": "string",
"default": "",
"description": "clang-format fallback style for javascript, left empty to use clang-format.style"
},
"type": "string",
"default": "",
"description": "clang-format fallback style for javascript, left empty to use clang-format.style"
},
"clang-format.language.javascript.fallbackStyle": {
"type": "string",
"default": "",
"description": "clang-format fallback style for javascript, left empty to use clang-format.fallbackStyle"
},
"type": "string",
"default": "",
"description": "clang-format fallback style for javascript, left empty to use clang-format.fallbackStyle"
},
"clang-format.language.typescript.style": {
"type": "string",
"default": "",
"description": "clang-format fallback style for typescript, left empty to use clang-format.style"
},
"type": "string",
"default": "",
"description": "clang-format fallback style for typescript, left empty to use clang-format.style"
},
"clang-format.language.typescript.fallbackStyle": {
"type": "string",
"default": "",
"description": "clang-format fallback style for typescript, left empty to use clang-format.fallbackStyle"
},
"type": "string",
"default": "",
"description": "clang-format fallback style for typescript, left empty to use clang-format.fallbackStyle"
},
"clang-format.language.proto.style": {
"type": "string",
"default": "",
"description": "clang-format fallback style for proto, left empty to use clang-format.style"
},
"type": "string",
"default": "",
"description": "clang-format fallback style for proto, left empty to use clang-format.style"
},
"clang-format.language.proto.fallbackStyle": {
"type": "string",
"default": "",
"description": "clang-format fallback style for proto, left empty to use clang-format.fallbackStyle"
}
"type": "string",
"default": "",
"description": "clang-format fallback style for proto, left empty to use clang-format.fallbackStyle"
}
}
}
},
Expand Down

0 comments on commit a9b149a

Please sign in to comment.