Repository navigation
Expand file tree
/
Copy pathcommand-installer.plugin.json
More file actions
100 lines (100 loc) · 2.52 KB
/
Copy pathcommand-installer.plugin.json
File metadata and controls
100 lines (100 loc) · 2.52 KB
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
{
"schemaVersion": 0,
"id": "dev.lithe.fixture.command-installer",
"displayName": "Command Installer Fixture",
"version": "0.1.0",
"pluginAPIVersion": 0,
"requires": {
"commandInstallers": 0,
"debugAdapters": 0,
"languageServers": 0,
"languages": 0
},
"requiresTools": ["builder"],
"vendor": {
"id": "org.example",
"displayName": "Example",
"signatureRequirement": "publisherPackage"
},
"permissions": [
"commands.install",
"debug.launch",
"languageServer.launch"
],
"activationEvents": [
"onDebug:sample",
"onLanguage:sample"
],
"languages": [
{
"id": "sample",
"displayName": "Sample",
"fileExtensions": ["sample"]
}
],
"languageServers": [
{
"languageID": "sample",
"launch": { "kind": "systemCommand", "commands": ["sample-ls"] },
"arguments": ["serve"],
"validationArguments": ["version"]
}
],
"debugAdapters": [
{
"id": "sample",
"displayName": "Sample Debugger",
"adapterID": "sample-dap",
"requests": ["launch"],
"selectors": [{ "targetKinds": ["file"], "languageIDs": ["sample"] }],
"configurationTypes": ["sample"],
"configurations": {
"launch": {
"targetBindings": { "program": "target.path", "cwd": "target.workingDirectory" }
}
},
"launch": {
"process": {
"launch": { "kind": "systemCommand", "commands": ["sample-dap"] },
"arguments": ["--stdio"]
},
"transport": "stdio"
}
}
],
"commandInstallers": [
{
"id": "sample-ls",
"commands": ["sample-ls"],
"tool": "builder",
"minimumVersion": "1.2",
"arguments": ["install", "example.org/sample-ls@latest"],
"mayUseNetwork": true,
"timeoutSeconds": 300,
"targets": {
"managed": {
"environment": { "BUILDER_BIN": "${installDirectory}" }
},
"toolDefault": {
"directory": [
{ "arguments": ["env", "BUILDER_BIN"] },
{ "arguments": ["env", "BUILDER_HOME"], "pathList": true, "append": "bin" }
]
}
}
},
{
"id": "sample-dap",
"commands": ["sample-dap"],
"tool": "builder",
"arguments": ["install", "example.org/sample-dap@latest"],
"mayUseNetwork": true,
"targets": {
"managed": {
"arguments": ["install", "--prefix", "${installDirectory}", "example.org/sample-dap@latest"],
"commandDirectory": "bin"
}
}
}
]
}