forked from ioachim/vscode-clang-format-provider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
221 lines (221 loc) · 8.04 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
{
"name": "clang-format",
"displayName": "Clang-Format",
"description": "Use Clang-Format in Visual Studio Code",
"version": "1.4.0",
"publisher": "xaver",
"engines": {
"vscode": "^1.0.0"
},
"galleryBanner": {
"color": "#005577",
"theme": "dark"
},
"dependencies": {
"sax": "^1.2.1"
},
"categories": [
"Formatters"
],
"keywords": [
"C++",
"JavaScript",
"Objective-C",
"Clang",
"LLVM",
"Protobuf"
],
"main": "./out/src/extension",
"activationEvents": [
"onLanguage:cpp",
"onLanguage:c",
"onLanguage:objective-c",
"onLanguage:objective-cpp",
"onLanguage:java",
"onLanguage:javascript",
"onLanguage:typescript",
"onLanguage:proto",
"onLanguage:proto3",
"onLanguage:apex"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Clang-Format configuration",
"properties": {
"clang-format.executable": {
"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)"
},
"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.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.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.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": "^6.0.40",
"@types/sax": "^0.0.28",
"typescript": "^2.0.3",
"vscode": "^1.0.0"
},
"icon": "clang-format.png",
"repository": {
"type": "git",
"url": "https://github.com/xaverh/vscode-clang-format-provider"
},
"license": "MIT"
}