-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
250 lines (250 loc) · 9.43 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
{
"name": "jsx",
"displayName": "ExtendScript",
"description": "Adobe ExtendScript Language Support for Visual Studio Code",
"version": "1.3.0",
"publisher": "Hennamann",
"repository": {
"type": "git",
"url": "https://github.com/Hennamann/ExtendScript-for-Visual-Studio-Code.git"
},
"bugs": {
"url": "https://github.com/Hennamann/ExtendScript-for-Visual-Studio-Code/issues"
},
"license": "MIT",
"icon": "images/extendscript.png",
"engines": {
"vscode": "^1.22.0"
},
"categories": [
"Programming Languages",
"Snippets",
"Formatters"
],
"contributes": {
"configuration": {
"title": "Extendscript",
"properties": {
"extendscript.indentSize": {
"type": "number",
"default": 4,
"description": "Choose how many spaces to use for indentation. (default: 4)",
"order": 1
},
"extendscript.indentChar": {
"type": "string",
"default": " ",
"description": "Select the character to use for indentation. (default: space)",
"order": 2
},
"extendscript.indentWithTabs": {
"type": "boolean",
"default": false,
"description": "Use tabs for indentation instead of spaces. (default: false)",
"order": 3
},
"extendscript.EOL": {
"type": "string",
"default": "\\n",
"description": "Select the end of line character. (default: \\n)",
"order": 4
},
"extendscript.endWithNewline": {
"type": "boolean",
"default": false,
"description": "Add a newline at the end of the file. (default: false)",
"order": 5
},
"extendscript.indentLevel": {
"type": "number",
"default": 0,
"description": "Choose how many levels of indentation to use. (default: 0)",
"order": 6
},
"extendscript.preserveNewlines": {
"type": "boolean",
"default": true,
"description": "Preserve all newlines. (default: true)",
"order": 7
},
"extendscript.maxPreserveNewlines": {
"type": "number",
"default": 10,
"description": "Choose how many newlines to preserve. (default: 10)",
"order": 8
},
"extendscript.spaceInParen": {
"type": "boolean",
"default": false,
"description": "Add a space between the opening and closing parenthesis. (default: false)",
"order": 9
},
"extendscript.spaceInEmptyParen": {
"type": "boolean",
"default": false,
"description": "Add a space between the opening and closing empty parenthesis. (default: false)",
"order": 10
},
"extendscript.jslintHappy": {
"type": "boolean",
"default": false,
"description": "Enable jslint-stricter mode. (default: false)",
"order": 11
},
"extendscript.spaceAfterAnonFunction": {
"type": "boolean",
"default": false,
"description": "Add a space after the anonymous function. (default: false)",
"order": 12
},
"extendscript.spaceAfterNamedFunction": {
"type": "boolean",
"default": false,
"description": "Add a space after the named function. (default: false)",
"order": 13
},
"extendscript.braceStyle": {
"type": "string",
"default": "collapse",
"enum": [
"collapse",
"expand",
"end-expand",
"none"
],
"enumDescriptions": [
"Collapse the braces onto one line.",
"Expand the braces onto one line.",
"Expand the braces onto one line and put the closing brace on the next line.",
"Leave the braces on the same line."
],
"description": "Select the brace style. (default: collapse)",
"order": 14
},
"extendscript.unindentChainedMethods": {
"type": "boolean",
"default": false,
"description": "Unindent chained method calls. (default: false)",
"order": 15
},
"extendscript.breakChainedMethods": {
"type": "boolean",
"default": false,
"description": "Break chained method calls across subsequent lines. (default: false)",
"order": 16
},
"extendscript.keepArrayIndentation": {
"type": "boolean",
"default": false,
"description": "Preserve array indentation. (default: false)",
"order": 17
},
"extendscript.unescapeStrings": {
"type": "boolean",
"default": false,
"description": "Decode printable characters encoded in xNN notation. (default: false)",
"order": 18
},
"extendscript.wrapLineLength": {
"type": "number",
"default": 0,
"description": "Wrap lines that exceed N characters. (default: 0)",
"order": 19
},
"extendscript.e4x": {
"type": "boolean",
"default": false,
"description": "Pass E4X xml literals through untouched. (default: false)",
"order": 20
},
"extendscript.commaFirst": {
"type": "boolean",
"default": false,
"description": "Put commas at the beginning of new line instead of end. (default: false)",
"order": 21
},
"extendscript.operatorPosition": {
"type": "string",
"default": "before-newline",
"enum": [
"before-newline",
"after-newline",
"preserve-newline"
],
"enumDescriptions": [
"Puts the operator on the new line.",
"Puts the operator on the same line as the last operand.",
"Puts the operator on the same line as the new line."
],
"description": "Select where to put the operator. (default: before-newline)",
"order": 22
},
"extendscript.indentEmptyLines": {
"type": "boolean",
"default": false,
"description": "Indent empty lines. (default: false)",
"order": 23
}
}
},
"languages": [
{
"id": "extendscript",
"aliases": [
"Extendscript",
"ExtendScript",
"jsx",
"jsxbin"
],
"extensions": [
".jsx",
".jsxbin"
],
"configuration": "./language-configuration.json"
}
],
"breakpoints": [
{
"language": "extendscript"
}
],
"grammars": [
{
"language": "extendscript",
"scopeName": "source.js.extendscript",
"path": "./syntaxes/jsx.tmLanguage",
"injectTo": [
"source.js"
]
}
],
"snippets": [
{
"language": "extendscript",
"path": "./snippets/snippets.json"
}
]
},
"activationEvents": [
"onLanguage:extendscript",
"onLanguage:jsx"
],
"main": "./out/extension",
"scripts": {
"build": "tsc -p .",
"watch": "tsc -w -p .",
"postinstall": "node ./node_modules/vscode/bin/install",
"lint": "tslint -c tslint.json \"src/**/*.ts\""
},
"devDependencies": {
"@types/node": "^7.0.31",
"tslint": "^5.0.0",
"typescript": "^2.8.3",
"vsce": "^1.8.1",
"vscode": "^1.1.37"
},
"dependencies": {
"@types/js-beautify": "^1.8.0",
"js-beautify": "^1.8.9"
}
}