-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
259 lines (259 loc) · 8.7 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
{
"name": "processing-vscode",
"version": "2.4.1",
"private": true,
"description": "Processing Language Support for VSCode",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Luke-zhang-04/processing-vscode.git"
},
"homepage": "https://github.com/Luke-zhang-04/processing-vscode",
"bugs": "https://github.com/Luke-zhang-04/processing-vscode/issues",
"main": "./processing-vscode.js",
"engines": {
"vscode": "^1.48.0"
},
"scripts": {
"build": "rollup -c rollup.config.js",
"deploy": "vsce publish",
"format": "prettier . --write && eslint --ext ts --fix --cache",
"lint": "eslint --ext ts src --max-warnings 0 --cache",
"test": "node --experimental-vm-modules --experimental-specifier-resolution=node node_modules/.bin/jest",
"vscode:prepublish": "rollup -c rollup.config.js"
},
"keywords": [
"processing",
"pde",
"processing.py",
"processing-python",
"language",
"snippets",
"diagnostics",
"runner"
],
"devDependencies": {
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-typescript": "^8.2.1",
"@types/glob": "^7.1.4",
"@types/jest": "^27.0.3",
"@types/jsdom": "^16.2.13",
"@types/node": "^16.3.1",
"@types/node-fetch": "^2.5.11",
"@types/vscode": "^1.48.0",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"eslint": "^7.30.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"glob": "^7.1.7",
"jest": "^27.4.5",
"jsdom": "^16.6.0",
"node-fetch": "^2.6.1",
"prettier": "^2.3.2",
"prettier-plugin-jsdoc": "^0.3.23",
"prettier-plugin-package": "^1.3.0",
"rollup": "^2.53.0",
"rollup-plugin-progress": "^1.1.2",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^27.1.2",
"tslib": "^2.3.0",
"typescript": "~4.3.5",
"vsce": "^1.95.1",
"yaml": "^1.10.2"
},
"activationEvents": [
"onCommand:processing.OpenExtensionDocumentation",
"onCommand:processing.OpenDocs",
"onCommand:processing.SearchWebsite",
"onCommand:processing.Run",
"onCommand:processing.RunJava",
"onCommand:processing.RunPy",
"onLanguage:pde",
"onLanguage:python"
],
"categories": [
"Programming Languages",
"Snippets"
],
"contributes": {
"commands": [
{
"command": "processing.Run",
"title": "Processing: Run Open Processing Project",
"enablement": "resourceLangId == python || resourceLangId == pde"
},
{
"command": "processing.RunPy",
"title": "Processing: Run Open Processing Python Project",
"icon": "./images/play-arrow-with-logo.svg",
"enablement": "resourceLangId == python && config.processing.py.isEnabled"
},
{
"command": "processing.RunJava",
"title": "Processing: Run Open Processing Java Project",
"icon": "./images/play-arrow.svg",
"enablement": "resourceLangId == pde"
},
{
"command": "processing.OpenExtensionDocumentation",
"title": "Processing: Open Extension Documentation",
"enablement": "resourceLangId == pde"
},
{
"command": "processing.OpenDocs",
"title": "Processing: Open Documentation for Selection",
"enablement": "resourceLangId == pde || resourceLangId == python && config.processing.py.isEnabled"
},
{
"command": "processing.SearchWebsite",
"title": "Processing: Search Processing Website",
"enablement": "resourceLangId == pde || resourceLangId == python && config.processing.py.isEnabled"
}
],
"languages": [
{
"id": "pde",
"aliases": [
"Processing",
"pde"
],
"extensions": [
".pde"
],
"configuration": "./pde.configuration.json"
}
],
"grammars": [
{
"language": "pde",
"scopeName": "source.pde",
"path": "./syntaxes/pde.tmLanguage.json"
}
],
"snippets": [
{
"language": "pde",
"path": "./snippets/snippets.json"
}
],
"menus": {
"editor/context": [
{
"when": "editorHasSelection && editorLangId == 'pde'",
"command": "processing.OpenDocs",
"group": "navigation@1"
},
{
"when": "resourceLangId == pde",
"command": "processing.RunJava",
"group": "navigation"
},
{
"when": "resourceLangId == python && config.processing.py.isEnabled",
"command": "processing.RunPy",
"group": "navigation"
}
],
"editor/title": [
{
"when": "resourceLangId == pde",
"command": "processing.RunJava",
"group": "navigation"
},
{
"when": "resourceLangId == python && config.processing.py.isEnabled",
"command": "processing.RunPy",
"group": "navigation"
}
]
},
"configuration": {
"type": "object",
"title": "Processing",
"properties": {
"processing.processingPath": {
"type": "string",
"default": "processing-java",
"description": "Path to Processing. Leave default if you've added processing to your path, otherwise enter the path to `processing-java` here. Example: `/usr/bin/processing-java` for Unix, or `C:\\Program Files\\processing-3.0.1\\processing-java` for Windows."
},
"processing.path": {
"type": "string",
"default": "processing-java",
"description": "Legacy path to Processing. Use processing.processingPath instead. If processing.processingPath is available, it will be used",
"deprecationMessage": "Legacy path to Processing. Use processing.processingPath instead. If processing.processingPath is available, it will be used"
},
"processing.docs": {
"type": "string",
"default": "auto",
"enum": [
"processing.org",
"p5js.org",
"py.processing.org",
"auto"
],
"enumDescriptions": [
"Use processing.org for documentation",
"Use p5js for documentation",
"Use py.processing.org for documentation",
"Automatically determine either processing.org or py.processing.org (never p5js) depending on the current file"
],
"description": "Which documentation this extension should use"
},
"processing.search": {
"type": "string",
"default": "Google",
"enum": [
"Google",
"DuckDuckGo"
],
"enumDescriptions": [
"Use Google to search documentation",
"Use DuckDuckGo to search documentation"
],
"description": "Which search engine should this extension use?"
},
"processing.shouldGiveDiagnostics": {
"type": "boolean",
"default": false,
"description": "If the extension should provide diagnostics (via processing-java). Note that this feature is quite slow."
},
"processing.shouldSendSigint": {
"type": "boolean",
"default": false,
"description": "If the extension should send sigint to the terminal stop the current running processing program before running the new one by sending \"\\x03\" (^C). If true, it essentially presses ctrl+c for you."
},
"processing.runPathQuotes": {
"type": "string",
"enum": [
"auto",
"always"
],
"default": "auto",
"description": "When the run path should be quoted. If always, the run path will always be quoted. If auto, the extension will attempt to figure out when to quote the path."
},
"processing.py.jarPath": {
"type": "string",
"default": "processing-py.jar",
"description": "The location of your processing-py.jar file. You can download it from https://py.processing.org/tutorials/command-line/#requirements."
},
"processing.py.javaPath": {
"type": "string",
"default": "java",
"description": "Path to Java. Leave default if you've added java to your path, otherwise enter the path to `java` here. Example: `/usr/bin/java` for Unix, or potentially `C:\\Program Files\\Java\\jdk1.8.0_202\\bin\\javac.exe` for Windows."
},
"processing.py.isEnabled": {
"type": "boolean",
"default": true,
"description": "If processing.py features should be enabled or not."
}
}
}
},
"displayName": "Processing VSCode",
"icon": "images/processing.png",
"publisher": "Luke-zhang-04",
"workspaces": [
".",
"./rollup/plugins"
]
}