forked from ajshort/vscode-ros
-
Notifications
You must be signed in to change notification settings - Fork 96
/
package.json
513 lines (513 loc) · 19.6 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
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
{
"name": "vscode-ros",
"version": "0.9.6",
"publisher": "ms-iot",
"engines": {
"vscode": "^1.69.0"
},
"author": {
"name": "Microsoft Corporation"
},
"displayName": "ROS",
"description": "Develop Robot Operating System (ROS) with Visual Studio Code.",
"icon": "media/icon.png",
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
"categories": [
"Debuggers",
"Other"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": false,
"description": "The Visual Studio Code ROS Extension calls ROS on behalf of packages in the workspace. This can execute code from within the workspace. For this reason, this extension requires a fully trusted workspace."
}
},
"keywords": [
"ros",
"robot"
],
"license": "SEE LICENSE IN LICENSE",
"homepage": "https://github.com/ms-iot/vscode-ros",
"repository": {
"type": "git",
"url": "https://github.com/ms-iot/vscode-ros"
},
"bugs": {
"url": "https://github.com/ms-iot/vscode-ros/issues"
},
"preview": true,
"main": "./dist/extension",
"activationEvents": [
"onLanguage:cpp",
"onLanguage:python",
"onLanguage:csharp",
"onCommand",
"workspaceContains:**/package.xml",
"onWebviewPanel:ros1Status",
"onWebviewPanel:ros2Status",
"onWebviewPanel:urdfPreview",
"onDebug",
"onDebugResolve:ros",
"onDebugDynamicConfigurations:ros"
],
"contributes": {
"commands": [
{
"command": "ros.createCatkinPackage",
"title": "Create Catkin Package",
"category": "ROS"
},
{
"command": "ros.createTerminal",
"title": "Create Terminal",
"category": "ROS"
},
{
"command": "ros.rosrun",
"title": "Run a ROS executable (rosrun)",
"category": "ROS"
},
{
"command": "ros.roslaunch",
"title": "Run a ROS launch file (roslaunch)",
"category": "ROS"
},
{
"command": "ros.rostest",
"title": "Run a ROS test file (rostest)",
"category": "ROS"
},
{
"command": "ros.showCoreStatus",
"title": "Show Status",
"category": "ROS"
},
{
"command": "ros.startCore",
"title": "Start",
"category": "ROS"
},
{
"command": "ros.stopCore",
"title": "Stop",
"category": "ROS"
},
{
"command": "ros.updateCppProperties",
"title": "Update C++ Properties",
"category": "ROS"
},
{
"command": "ros.updatePythonPath",
"title": "Update Python Path",
"category": "ROS"
},
{
"command": "ros.previewUrdf",
"title": "Preview URDF",
"category": "ROS"
},
{
"command": "ros.rosdep",
"title": "Install ROS Dependencies for this workspace using rosdep",
"category": "ROS"
}
],
"configuration": {
"type": "object",
"title": "ROS",
"properties": {
"ros.distro": {
"type": "string",
"description": "ROS installation distro to be sourced."
},
"ros.rosSetupScript": {
"type": "string",
"description": "ROS workspace setup script. Overrides ros.distro."
},
"ros.isolateEnvironment": {
"type": "bool",
"default": false,
"description": "Specify if the extension should not capture the environment VSCode is running in to pass to child processes."
},
"ros.BackgroundColor": {
"type": "string",
"title": "Background Color",
"default": "#000000",
"description": "Background color of the URDF preview panel."
},
"ros.GridMainColor": {
"type": "string",
"title": "Grid Main Color",
"default": "#00FF00",
"description": "Color of the main grid in the URDF preview panel."
},
"ros.GridMinorColor": {
"type": "string",
"title": "Grid Minor Line Color",
"default": "#001100",
"description": "Color of the line grid in the URDF preview panel."
},
"ros.GridMinorOpacity": {
"type": "number",
"default": 0.5,
"title": "Minor Grid Line Opacity",
"description": "Minor grid line opacity between 0 and 1 in the URDF preview panel."
},
"ros.CameraDistanceToRobot": {
"type": "number",
"title": "Camera Distance to Robot",
"default": 1,
"description": "Distance in meters from the camera to the robot in the URDF preview panel."
}
}
},
"debuggers": [
{
"type": "ros",
"label": "ROS",
"program": "./out/src/debugger/main.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"required": [
"target"
],
"properties": {
"target": {
"type": "string",
"description": "Absolute path to launch file",
"default": ""
},
"arguments": {
"type": "array",
"description": "Arguments for the roslaunch or ros2 launch command",
"default": []
},
"env": {
"type": "object",
"description": "Environment variables defined as a key value pair. Property ends up being the Environment Variable and the value of the property ends up being the value of the Env Variable.",
"default": {},
"additionalProperties": {
"type": "string"
}
},
"symbolSearchPath": {
"type": "string",
"description": "Semicolon separated list of directories to use to search for symbol (that is, pdb) files. Example: \"c:\\dir1;c:\\dir2\"",
"default": ""
},
"additionalSOLibSearchPath": {
"type": "string",
"description": "Semicolon separated list of directories to use to search for .so files",
"default": ""
},
"sourceFileMap": {
"type": "string",
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"/original/source/path\":\"/current/source/path\" }'",
"default": ""
},
"launch": {
"type": "array",
"description": "A list of Scripts or executables to just launch without attaching a debugger",
"default": ""
},
"attachDebugger": {
"type": "array",
"description": "A specific list of executables to just attach a debugger. Useful for large compostions with where only a few nodes need to be debugged",
"default": ""
}
}
},
"debug_launch": {
"required": [
"target"
],
"properties": {
"target": {
"type": "string",
"description": "Absolute path to launch file",
"default": ""
},
"arguments": {
"type": "array",
"description": "Arguments for the roslaunch or ros2 launch command",
"default": []
},
"env": {
"type": "object",
"description": "Environment variables defined as a key value pair. Property ends up being the Environment Variable and the value of the property ends up being the value of the Env Variable.",
"default": {},
"additionalProperties": {
"type": "string"
}
}
}
},
"attach": {
"properties": {
"runtime": {
"type": "string",
"description": "Runtime type of the node (currently supports Python and C++). Use \"${action:pick}\" to choose interactively.\nThis is only for local processes that were launched directly. Advanced attaching (e.g. attaching to a running ptvsd server, attaching to a remote process, etc.) should use language-specific debugger extension.",
"enum": [
"${action:pick}",
"C++",
"Python"
],
"default": "${action:pick}"
},
"processId": {
"anyOf": [
{
"type": "string",
"description": "Optional process id to attach the debugger to. Use \"${action:pick}\" to get a list of local running processes to attach to. Note that some platforms require administrator privileges in order to attach to a process.",
"enum": [
"${action:pick}"
],
"default": "${action:pick}"
},
{
"type": "integer",
"description": "Optional process id to attach the debugger to. Use \"${action:pick}\" to get a list of local running processes to attach to. Note that some platforms require administrator privileges in order to attach to a process.",
"default": 0
}
]
}
}
}
},
"configurationSnippets": [
{
"label": "ROS: Launch",
"description": "Debug ROS node(s) at launch.",
"body": {
"name": "ROS: Launch",
"type": "ros",
"request": "launch",
"target": "absolute path to launch file"
}
},
{
"label": "ROS: Attach",
"description": "Debug a ROS node by attaching to it.",
"body": {
"name": "ROS: Attach",
"type": "ros",
"request": "attach"
}
}
]
}
],
"languages": [
{
"id": "xml",
"extensions": [
"launch",
"srdf",
"test",
"urdf",
"xacro"
]
},
{
"id": "yaml",
"extensions": [
"rviz"
]
},
{
"id": "ros.msg",
"aliases": [
"ROS Message"
],
"extensions": [
".action",
".msg",
".srv"
],
"configuration": "./languages/ros.msg.configuration.json"
}
],
"grammars": [
{
"language": "ros.msg",
"scopeName": "source.ros.msg",
"path": "./languages/syntaxes/ros.msg.tmLanguage.json"
}
],
"menus": {
"explorer/context": [
{
"command": "ros.createCatkinPackage",
"when": "explorerResourceIsFolder"
}
]
},
"problemMatchers": [
{
"name": "catkin-gcc",
"fileLocation": "absolute",
"owner": "catkin",
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
},
{
"name": "roscore",
"pattern": {
"regexp": ".",
"file": 1,
"line": 2,
"message": 3
},
"background": {
"activeOnStart": true,
"beginsPattern": ".",
"endsPattern": "(process\\[master\\]: started with pid|roscore cannot run|master is already running)"
}
},
{
"name": "roslaunch",
"pattern": {
"regexp": "^(.*):\\s+(.*):\\s+line\\s+(\\d+),\\s+column\\s+(\\d+)$",
"line": 3,
"column": 4,
"message": 2,
"severity": 1
},
"background": {
"activeOnStart": true,
"beginsPattern": "started roslaunch server",
"endsPattern": "ROS_MASTER_URI="
}
}
],
"taskDefinitions": [
{
"type": "ros",
"required": [
"command"
],
"properties": {
"command": {
"type": "string",
"description": "command to execute in ROS environment"
},
"args": {
"type": "array",
"description": "Commadn line arguments to command"
}
}
},
{
"type": "catkin_make",
"properties": {
"args": {
"type": "array",
"description": "Commadn line arguments to catkin_make"
}
}
},
{
"type": "catkin_make_isolated",
"properties": {
"args": {
"type": "array",
"description": "Commadn line arguments to catkin_make_isolated"
}
}
},
{
"type": "catkin",
"properties": {
"args": {
"type": "array",
"description": "Commadn line arguments to catkin"
}
}
},
{
"type": "colcon",
"properties": {
"args": {
"type": "array",
"description": "Commadn line arguments to colcon"
}
}
}
]
},
"scripts": {
"package:dev": "vsce package -o vscode-ros-dev.vsix",
"compile": "npm run package",
"lint": "eslint -p ./",
"pretest": "npm run compile",
"test": "node ./out/src/test/runTest.js",
"vscode:prepublish": "npm run package",
"webpack": "webpack --mode development",
"watch": "webpack --mode development --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"test-compile": "npm run webpack"
},
"dependencies": {
"@polyhobbyist/babylon_ros": "^0.0.6",
"@polyhobbyist/babylon-collada-loader": "^0.0.4",
"@vscode/debugadapter": "^1.59.0",
"@vscode/extension-telemetry": "^0.6.2",
"@vscode/webview-ui-toolkit": "^1.2.2",
"assert": "^2.0.0",
"babylonjs": "^6.37.1",
"babylonjs-materials": "^6.37.1",
"buffer": "^6.0.3",
"console-browserify": "^1.2.0",
"constants-browserify": "^1.0.0",
"crypto-browserify": "^3.12.0",
"domain-browser": "^4.22.0",
"https-browserify": "^1.0.0",
"js-yaml": "^4.1.0",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"portfinder": "^1.0.32",
"querystring-es3": "^0.2.1",
"shell-quote": "^1.8.1",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"string_decoder": "^1.3.0",
"sudo-prompt": "^9.2.1",
"timers-browserify": "^2.0.12",
"tmp": "^0.2.1",
"tslib": "^2.6.2",
"vsce": "^2.15.0",
"xmlrpc": "^1.3.2"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/js-yaml": "^4.0.9",
"@types/mocha": "^10.0.1",
"@types/node": "^20.10.7",
"@types/shell-quote": "^1.7.1",
"@types/tmp": "^0.2.6",
"@types/vscode": "^1.69.0",
"@types/vscode-webview": "^1.57.4",
"@types/xmlrpc": "^1.3.7",
"@vscode/webview-ui-toolkit": "^1.2.2",
"glob": "^8.0.1",
"mocha": "^10.2.0",
"ts-loader": "^9.5.1",
"tslint": "^6.1.3",
"typescript": "^5.2.2",
"vscode-test": "^1.6.1",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
},
"extensionDependencies": [
"ms-python.python",
"ms-vscode.cpptools"
]
}