forked from Mr-Bossman/vscode-clang-format
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
150 lines (150 loc) · 4.25 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
{
"name": "clang-format-2",
"displayName": "New-clang-format",
"description": "Use Clang-Format in Visual Studio Code",
"version": "1.9.4",
"publisher": "Something-Software",
"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": [
"onStartupFinished"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Clang-Format configuration",
"properties": {
"clang-format.executable": {
"additionalProperties": false,
"order": 1,
"type": "object",
"properties": {
"default": {
"type": "string",
"default": "clang-format"
},
"windows": {
"type": "string"
},
"linux": {
"type": "string"
},
"osx": {
"type": "string"
}
},
"default": {
"default": "clang-format"
},
"description": "clang-format executable path"
},
"clang-format.style.default": {
"order": 2,
"type": "string",
"title": "Style",
"default": "LLVM",
"description": "clang-format style.\n(-style=value, value can be file, LLVM, Google, Chromium, Mozilla, WebKit or json configure)"
},
"clang-format.fallbackStyle.default": {
"order": 3,
"type": "string",
"title": "Fallback Style",
"default": "",
"description": "clang-format fallback style.\n(-fallback-style=value, value can be none, LLVM, Google, Chromium, Mozilla, WebKit)"
},
"clang-format.style.languages": {
"order": 6,
"type": "object",
"default": {},
"additionalProperties": {
"type": "string"
},
"description": "Object with the key as LanguageId and value as a clang-format style."
},
"clang-format.fallbackStyle.languages": {
"order": 7,
"type": "object",
"default": {},
"additionalProperties": {
"type": "string"
},
"description": "Object with the key as LanguageId and value as a clang-format fallback style."
},
"clang-format.enabledLanguageIds": {
"order": 4,
"description": "Specify a list of languageIds to format.",
"title": "Enabled Language Ids",
"type": "array",
"items": {
"type": "string"
},
"default": [
"c"
],
"uniqueItems": true
},
"clang-format.assumeFilename.default": {
"order": 98,
"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.\nThe default value is the current filename being formated."
},
"clang-format.assumeFilename.languages": {
"order": 99,
"type": "object",
"default": {},
"additionalProperties": {
"type": "string"
},
"description": "Object with the key as LanguageId and value as the assumeFilename."
},
"clang-format.additionalArguments": {
"order": 100,
"type": "string",
"default": "",
"description": "Additional arguments to pass to clang-format"
}
}
}
},
"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",
"@vscode/vsce": "^3.0.0"
},
"icon": "clang-format.png",
"repository": {
"type": "git",
"url": "https://github.com/somethingsoftware/vscode-clang-format"
},
"license": "MIT"
}