Repository navigation
Expand file tree
/
Copy pathtool-reference-launch.plugin.json
More file actions
103 lines (103 loc) · 2.66 KB
/
Copy pathtool-reference-launch.plugin.json
File metadata and controls
103 lines (103 loc) · 2.66 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
101
102
103
{
"schemaVersion": 0,
"id": "dev.lithe.fixture.tool-reference-launch",
"displayName": "Tool Reference Launch Fixture",
"version": "0.1.0",
"pluginAPIVersion": 0,
"requires": {
"backend": 0,
"debugAdapters": 0,
"languageServers": 0,
"languages": 0,
"outputLinkMatchers": 0,
"toolDefinitions": 0
},
"requiresTools": ["interpreter"],
"vendor": {
"id": "org.example",
"displayName": "Example",
"signatureRequirement": "publisherPackage"
},
"permissions": [
"backend.launch",
"debug.launch",
"debug.start",
"languageServer.launch",
"run.start"
],
"activationEvents": [
"onDebug:script",
"onLanguage:script",
"onWorkspaceOpen"
],
"languages": [
{
"id": "script",
"displayName": "Script",
"fileExtensions": ["script"]
}
],
"toolDefinitions": [
{
"id": "interpreter",
"displayName": "Script interpreter",
"icon": { "host": "plugin" },
"executableLayouts": [
{ "path": "bin/interpreter", "platforms": ["macos", "linux"] },
{ "path": "bin/interpreter.exe", "platforms": ["windows"] }
],
"executables": [
{ "id": "default", "kind": "setting", "settingID": "executable", "layer": "global" },
{ "id": "shell", "kind": "command", "command": "interpreter" }
],
"version": {
"arguments": ["--version"],
"pattern": "Interpreter (\\d+(?:\\.\\d+)*)"
},
"homeLayouts": [{ "match": "*", "home": "." }],
"commands": ["interpreter"],
"launch": ["${executable}", "${runtimeArguments}", "${entry}", "${arguments}"]
}
],
"languageServers": [
{
"languageID": "script",
"launch": {
"kind": "runtime",
"tool": "interpreter",
"minimumVersion": "3.9",
"runtimeArguments": ["-X", "utf8"],
"entry": "language-server/server.script"
},
"arguments": ["--stdio"]
}
],
"backend": {
"launch": { "kind": "packaged", "path": "bin/backend" },
"arguments": ["--state", "${stateDir}"]
},
"debugAdapters": [
{
"id": "script",
"displayName": "Script Debugger",
"adapterID": "script-dap",
"requests": ["launch"],
"selectors": [{ "targetKinds": ["file"], "languageIDs": ["script"] }],
"configurationTypes": ["script"],
"launch": {
"process": {
"launch": { "kind": "packaged", "path": "bin/script-dap" },
"arguments": ["--stdio"]
},
"transport": "stdio"
}
}
],
"outputLinkMatchers": [
{
"id": "traceback",
"pattern": "File \"(?P<path>[^\"]+)\", line (?P<line>\\d+)",
"scope": "run"
}
]
}