You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,12 @@
2
2
3
3
## Release history
4
4
5
+
### v 0.9.0
6
+
* add protobuf support (work with https://marketplace.visualstudio.com/items?itemName=peterj.proto)
7
+
* add javascript/typescript support
8
+
* 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)
10
+
5
11
### v 0.6.1
6
12
* clean up dependencies #9
7
13
@@ -28,5 +34,4 @@
28
34
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).
29
35
30
36
## Source code
31
-
32
37
Available on github: https://github.com/xaverh/vscode-clang-format-provider
@@ -158,7 +163,9 @@ export class ClangDocumentFormattingEditProvider implements vscode.DocumentForma
158
163
vscode.window.showInformationMessage("The '"+formatCommandBinPath+"' command is not available. Please check your clang.formatTool user setting and ensure it is installed.");
159
164
returnresolve(null);
160
165
}
161
-
if(err)returnreject("Cannot format due to syntax errors.");
166
+
if(err){
167
+
returnreject("Cannot format due to syntax errors.");
168
+
}
162
169
163
170
vardummyProcessor=(value: string)=>{
164
171
debugger;
@@ -173,8 +180,8 @@ export class ClangDocumentFormattingEditProvider implements vscode.DocumentForma
0 commit comments