forked from xaverh/vscode-clang-format
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
334 lines (334 loc) · 12.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
{
"name": "clang-format",
"displayName": "Clang-Format",
"description": "Use Clang-Format in Visual Studio Code",
"version": "1.9.0",
"publisher": "xaver",
"engines": {
"vscode": "^1.15.0"
},
"galleryBanner": {
"color": "#005577",
"theme": "dark"
},
"dependencies": {
"sax": "^1.2.4"
},
"categories": [
"Formatters"
],
"keywords": [
"C++",
"JavaScript",
"Objective-C",
"Clang",
"LLVM",
"Protobuf",
"CUDA"
],
"main": "./out/src/extension",
"activationEvents": [
"onLanguage:cpp",
"onLanguage:c",
"onLanguage:csharp",
"onLanguage:objective-c",
"onLanguage:objective-cpp",
"onLanguage:java",
"onLanguage:javascript",
"onLanguage:typescript",
"onLanguage:proto",
"onLanguage:proto3",
"onLanguage:textproto",
"onLanguage:apex",
"onLanguage:glsl",
"onLanguage:hlsl",
"onLanguage:cuda",
"onLanguage:cuda-cpp"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Clang-Format configuration",
"properties": {
"clang-format.executable": {
"type": "string",
"default": "clang-format",
"description": "clang-format executable path"
},
"clang-format.executable.windows": {
"type": "string",
"default": "",
"description": "clang-format executable path on Windows"
},
"clang-format.executable.linux": {
"type": "string",
"default": "",
"description": "clang-format executable path on Linux"
},
"clang-format.executable.osx": {
"type": "string",
"default": "",
"description": "clang-format executable path on macOS"
},
"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)"
},
"clang-format.fallbackStyle": {
"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.enable": {
"type": "boolean",
"default": true,
"description": "enable formatting for C++ (requires reloading Visual Studio Code)"
},
"clang-format.language.cpp.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"
},
"clang-format.language.c.enable": {
"type": "boolean",
"default": true,
"description": "enable formatting for C (requires reloading Visual Studio Code)"
},
"clang-format.language.c.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"
},
"clang-format.language.csharp.enable": {
"type": "boolean",
"default": true,
"description": "enable formatting for C# (requires reloading Visual Studio Code)"
},
"clang-format.language.csharp.style": {
"type": "string",
"default": "",
"description": "clang-format fallback style for C#, left empty to use clang-format.style"
},
"clang-format.language.csharp.fallbackStyle": {
"type": "string",
"default": "Microsoft",
"description": "clang-format fallback style for C#, left empty to use clang-format.fallbackStyle"
},
"clang-format.language.objective-c.enable": {
"type": "boolean",
"default": true,
"description": "enable formatting for Objective-C (requires reloading Visual Studio Code)"
},
"clang-format.language.objective-c.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"
},
"clang-format.language.objective-cpp.enable": {
"type": "boolean",
"default": true,
"description": "enable formatting for Objective-C++ (requires reloading Visual Studio Code)"
},
"clang-format.language.objective-cpp.style": {
"type": "string",
"default": "",
"description": "clang-format fallback style for Objective-C++, left empty to use clang-format.style"
},
"clang-format.language.objective-cpp.fallbackStyle": {
"type": "string",
"default": "",
"description": "clang-format fallback style for Objective-C++, left empty to use clang-format.fallbackStyle"
},
"clang-format.language.java.enable": {
"type": "boolean",
"default": true,
"description": "enable formatting for Java (requires reloading Visual Studio Code)"
},
"clang-format.language.java.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"
},
"clang-format.language.javascript.enable": {
"type": "boolean",
"default": true,
"description": "enable formatting for JavaScript (requires reloading Visual Studio Code)"
},
"clang-format.language.javascript.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": "google",
"description": "clang-format fallback style for JavaScript"
},
"clang-format.language.typescript.enable": {
"type": "boolean",
"default": true,
"description": "enable formatting for TypeScript (requires reloading Visual Studio Code)"
},
"clang-format.language.typescript.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": "google",
"description": "clang-format fallback style for TypeScript"
},
"clang-format.language.proto.enable": {
"type": "boolean",
"default": true,
"description": "enable formatting for Protobuf (requires reloading Visual Studio Code)"
},
"clang-format.language.proto.style": {
"type": "string",
"default": "",
"description": "clang-format fallback style for Protobuf, left empty to use clang-format.style"
},
"clang-format.language.proto.fallbackStyle": {
"type": "string",
"default": "",
"description": "clang-format fallback style for Protobuf, left empty to use clang-format.fallbackStyle"
},
"clang-format.language.textproto.enable": {
"type": "boolean",
"default": true,
"description": "enable formatting for textproto files"
},
"clang-format.language.textproto.style": {
"type": "string",
"default": "",
"description": "clang-format fallback style for textproto, left empty to use clang-format.style"
},
"clang-format.language.textproto.fallbackStyle": {
"type": "string",
"default": "",
"description": "clang-format fallback style for textproto, left empty to use clang-format.fallbackStyle"
},
"clang-format.language.apex.enable": {
"type": "boolean",
"default": true,
"description": "enable formatting for Apex (requires reloading Visual Studio Code)"
},
"clang-format.language.apex.style": {
"type": "string",
"default": "",
"description": "clang-format fallback style for Apex, left empty to use clang-format.style"
},
"clang-format.language.apex.fallbackStyle": {
"type": "string",
"default": "",
"description": "clang-format fallback style for Apex, left empty to use clang-format.fallbackStyle"
},
"clang-format.language.glsl.enable": {
"type": "boolean",
"default": true,
"description": "enable formatting for GLSL (requires reloading Visual Studio Code)"
},
"clang-format.language.glsl.style": {
"type": "string",
"default": "",
"description": "clang-format fallback style for GLSL, left empty to use clang-format.style"
},
"clang-format.language.glsl.fallbackStyle": {
"type": "string",
"default": "",
"description": "clang-format fallback style for GLSL, left empty to use clang-format.fallbackStyle"
},
"clang-format.language.hlsl.enable": {
"type": "boolean",
"default": true,
"description": "enable formatting for HLSL (requires reloading Visual Studio Code)"
},
"clang-format.language.hlsl.style": {
"type": "string",
"default": "",
"description": "clang-format fallback style for HLSL, left empty to use clang-format.style"
},
"clang-format.language.hlsl.fallbackStyle": {
"type": "string",
"default": "",
"description": "clang-format fallback style for HLSL, left empty to use clang-format.fallbackStyle"
},
"clang-format.language.cuda.enable": {
"type": "boolean",
"default": true,
"description": "enable formatting for CUDA (requires reloading Visual Studio Code)"
},
"clang-format.language.cuda.style": {
"type": "string",
"default": "",
"description": "clang-format fallback style for CUDA, left empty to use clang-format.style"
},
"clang-format.language.cuda.fallbackStyle": {
"type": "string",
"default": "",
"description": "clang-format fallback style for CUDA, left empty to use clang-format.fallbackStyle"
},
"clang-format.language.cuda-cpp.enable": {
"type": "boolean",
"default": true,
"description": "enable formatting for CUDA (requires reloading Visual Studio Code)"
},
"clang-format.language.cuda-cpp.style": {
"type": "string",
"default": "",
"description": "clang-format fallback style for CUDA, left empty to use clang-format.style"
},
"clang-format.language.cuda-cpp.fallbackStyle": {
"type": "string",
"default": "",
"description": "clang-format fallback style for CUDA, left empty to use clang-format.fallbackStyle"
},
"clang-format.assumeFilename": {
"type": "string",
"default": "",
"description": "When reading from stdin, clang-format assumes this filename to look for a style config file (with -style=file) and to determine the language."
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"@types/node": "^13.7.0",
"@types/sax": "^1.2.1",
"typescript": "^3.7.5",
"vsce": "^2.14.0",
"vscode": "^1.1.37"
},
"icon": "clang-format.png",
"repository": {
"type": "git",
"url": "https://github.com/xaverh/vscode-clang-format-provider"
},
"license": "MIT"
}