-
-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathpackage.json
More file actions
232 lines (232 loc) · 5.42 KB
/
package.json
File metadata and controls
232 lines (232 loc) · 5.42 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
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
{
"name": "godot-csharp-vscode",
"displayName": "C# Tools for Godot",
"description": "Debugger and utilities for working with Godot C# projects",
"icon": "icon.png",
"version": "0.2.1",
"publisher": "neikeq",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/godotengine/godot-csharp-vscode"
},
"engines": {
"vscode": "^1.62.0"
},
"categories": [
"Debuggers",
"Other"
],
"activationEvents": [
"workspaceContains:**/project.godot",
"onDebugResolve:godot",
"onCommand:godot.csharp.selectProject",
"onCommand:godot.csharp.generateAssets",
"onCommand:godot.csharp.getLaunchScene"
],
"main": "./dist/extension.bundled.js",
"scripts": {
"vscode:prepublish": "make build",
"compile": "make build",
"compile-tsc": "make tsc",
"compile-tsc-debug": "make tsc-debug",
"watch": "tsc -watch -p ./",
"webpack": "webpack --mode production",
"webpack-debug": "webpack --mode development",
"webpack-watch": "webpack --mode development --watch"
},
"dependencies": {
"async-file": "^2.0.2",
"chokidar": "^3.4.0",
"fs-extra": "^10.0.0",
"jsonc-parser": "^3.0.0",
"lookpath": "^1.2.1",
"promise-socket": "^6.0.3",
"vscode-debugprotocol": "^1.40.0"
},
"extensionDependencies": [
"ms-dotnettools.csharp",
"ms-vscode.mono-debug"
],
"devDependencies": {
"@types/fs-extra": "^9.0.12",
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.6",
"@types/node": "^16.4.1",
"@types/vscode": "^1.62.0",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"ts-loader": "^7.0.5",
"tslint": "^5.12.1",
"typescript": "^3.3.1",
"vsce": "^1.20.0",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2"
},
"breakpoints": [
{
"language": "csharp"
},
{
"language": "fsharp"
}
],
"contributes": {
"configuration": {
"title": "Godot Mono",
"properties": {
"godot.csharp.executablePath": {
"type": "string",
"default": null,
"description": "Path to the Godot engine executable."
}
}
},
"commands": [
{
"command": "godot.csharp.generateAssets",
"title": "Generate Assets for Build and Debug",
"category": "C# Godot"
},
{
"command": "godot.csharp.selectProject",
"title": "Select Project",
"category": "C# Godot"
}
],
"breakpoints": [
{
"language": "csharp"
},
{
"language": "fsharp"
}
],
"debuggers": [
{
"type": "godot-mono",
"label": "C# Godot",
"languages": [
"csharp",
"fsharp"
],
"program": "./dist/GodotDebugSession/GodotDebugSession.exe",
"osx": {
"runtime": "mono"
},
"linux": {
"runtime": "mono"
},
"variables": {
"SelectLaunchScene": "godot.csharp.getLaunchScene"
},
"configurationSnippets": [
{
"label": "C# Godot: Play in Editor Configuration",
"description": "Launch a C# Godot App from the open editor with a debugger.",
"body": {
"name": "Play in Editor",
"type": "godot-mono",
"mode": "playInEditor",
"request": "launch"
}
},
{
"label": "C# Godot: Launch Configuration",
"description": "Launch a C# Godot App with a debugger.",
"body": {
"name": "Launch",
"type": "godot-mono",
"request": "launch",
"mode": "executable",
"preLaunchTask": "build",
"executable": "${1:<insert-godot-executable-path-here>}",
"executableArguments": [
"--path",
"${workspaceRoot}"
]
}
},
{
"label": "C# Godot: Launch Configuration (Select Scene)",
"description": "Launch a C# Godot App with a debugger.",
"body": {
"name": "Launch (Select Scene)",
"type": "godot-mono",
"request": "launch",
"mode": "executable",
"preLaunchTask": "build",
"executable": "${1:<insert-godot-executable-path-here>}",
"executableArguments": [
"--path",
"${workspaceRoot}",
"${command:SelectLaunchScene}"
]
}
},
{
"label": "C# Godot: Attach Configuration",
"description": "Attach a debugger to a C# Godot App.",
"body": {
"name": "Attach",
"type": "godot-mono",
"request": "attach",
"address": "localhost",
"port": 23685
}
}
],
"configurationAttributes": {
"playInEditor": {},
"launch": {
"properties": {
"executable": {
"type": "string",
"description": "Path to the Godot executable"
},
"mode": {
"type": "string",
"enum": [
"playInEditor",
"executable"
],
"enumDescriptions": [
"Launches the project in the Godot editor for debugging",
"Launches the project with the specified executable for debugging"
],
"description": "Launch mode"
},
"executableArguments": {
"type": "array",
"description": "Arguments to append after the executable"
},
"env": {
"type": "object",
"description": "Environment variables",
"default": null
}
}
},
"attach": {
"required": [
"address",
"port"
],
"properties": {
"address": {
"type": "string",
"description": "Debugger address to attach to.",
"default": "localhost"
},
"port": {
"type": "number",
"description": "Debugger port to attach to.",
"default": 23685
}
}
}
}
}
]
}
}