-
-
Notifications
You must be signed in to change notification settings - Fork 169
/
package.json
316 lines (316 loc) · 7.73 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
{
"name": "godot-tools",
"displayName": "godot-tools",
"icon": "icon.png",
"version": "1.1.2",
"description": "Tools for game development with godot game engine",
"repository": {
"type": "git",
"url": "https://github.com/godotengine/godot-vscode-plugin"
},
"author": "The Godot Engine community",
"publisher": "geequlim",
"engines": {
"vscode": "^1.33.0"
},
"categories": [
"Other",
"Debuggers"
],
"activationEvents": [
"workspaceContains:project.godot",
"onLanguage:gdscript",
"onDebugResolve:godot"
],
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "tslint -p ./",
"watch": "tsc -watch -p ./"
},
"contributes": {
"commands": [
{
"command": "godot-tool.open_editor",
"title": "Godot Tools: Open workspace with Godot editor"
},
{
"command": "godot-tool.run_project",
"title": "Godot Tools: Run workspace as Godot project"
},
{
"command": "godot-tool.list_native_classes",
"title": "Godot Tools: List native classes of godot"
},
{
"command": "godot-tool.debugger.inspect_node",
"title": "Inspect Remote Node",
"icon": {
"light": "resources/light/icon_GUI_visibility_visible.svg",
"dark": "resources/dark/icon_GUI_visibility_visible.svg"
}
},
{
"command": "godot-tool.debugger.refresh_scene_tree",
"title": "Refresh",
"icon": {
"light": "resources/light/icon_refresh.svg",
"dark": "resources/dark/icon_refresh.svg"
}
},
{
"command": "godot-tool.debugger.refresh_inspector",
"title": "Refresh",
"icon": {
"light": "resources/light/icon_refresh.svg",
"dark": "resources/dark/icon_refresh.svg"
}
},
{
"command": "godot-tool.debugger.edit_value",
"title": "Edit value",
"icon": {
"light": "resources/light/icon_edit.svg",
"dark": "resources/dark/icon_edit.svg"
}
},
{
"command": "godot-tool.set_scene_file",
"title": "Set as Scene File"
}
],
"configuration": {
"type": "object",
"title": "Godot Tools configuration",
"properties": {
"godot_tools.gdscript_lsp_server_protocol": {
"type": [
"string"
],
"enum": [
"ws",
"tcp"
],
"default": "tcp",
"enumDescriptions": [
"Using WebSocket protocol to connect to Godot 3.2 and Godot 3.2.1",
"Using TCP protocol to connect to Godot 3.2.2 and newer versions"
],
"description": "The server protocol of the GDScript language server.\nYou have restart VSCode editor after change this value."
},
"godot_tools.gdscript_lsp_server_port": {
"type": "number",
"default": 6008,
"description": "The server port of the GDScript language server"
},
"godot_tools.editor_path": {
"type": "string",
"default": "",
"description": "The absolute path to the Godot editor executable"
},
"godot_tools.scene_file_config": {
"type": "string",
"default": "",
"description": "The scene file to run"
},
"godot-tools.check_status": {
"type": "string",
"default": "",
"description": "Check the gdscript language server connection status"
}
}
},
"languages": [
{
"id": "gdscript",
"aliases": [
"GDScript",
"gdscript"
],
"extensions": [
".gd"
],
"configuration": "./configurations/gdscript-configuration.json"
},
{
"id": "properties",
"extensions": [
"cfg",
"tres",
"tscn",
"godot",
"gdns",
"gdnlib",
"import"
]
}
],
"grammars": [
{
"language": "gdscript",
"scopeName": "source.gdscript",
"path": "./syntaxes/GDScript.tmLanguage.json"
}
],
"snippets": [
{
"language": "gdscript",
"path": "./configurations/snippets.json"
}
],
"debuggers": [
{
"type": "godot",
"label": "GDScript Godot Debug",
"program": "./out/debugger/debug_adapter.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"required": [
"project",
"port",
"address"
],
"properties": {
"project": {
"type": "string",
"description": "Absolute path to a directory with a project.godot file.",
"default": "${workspaceFolder}"
},
"port": {
"type": "number",
"description": "The port number for the Godot remote debugger to use.",
"default": 6007
},
"address": {
"type": "string",
"description": "The IP address for the Godot remote debugger to use.",
"default": "127.0.0.1"
},
"launch_game_instance": {
"type": "boolean",
"description": "Whether to launch an instance of the workspace's game, or wait for a debug session to connect.",
"default": true
},
"launch_scene": {
"type": "boolean",
"description": "Whether to launch an instance the currently opened TSCN file, or launch the game project. Only works with launch_game_instance being true.",
"default": false
},
"scene_file": {
"type": "string",
"description": "Relative path from the godot.project file to a TSCN file. If launch_scene and launch_game_instance are true, and this file is defined, will launch the specified file instead of looking for an active TSCN file.",
"default": ""
}
}
}
},
"initialConfigurations": [
{
"name": "GDScript Godot",
"type": "godot",
"request": "launch",
"project": "${workspaceFolder}",
"port": 6007,
"address": "127.0.0.1",
"launch_game_instance": true,
"launch_scene": false
}
],
"configurationSnippets": [
{
"label": "GDScript Godot Debug: Launch",
"description": "A new configuration for debugging a Godot project.",
"body": {
"type": "godot",
"request": "launch",
"project": "${workspaceFolder}",
"port": 6007,
"address": "127.0.0.1",
"launch_game_instance": true,
"launch_scene": false
}
}
]
}
],
"breakpoints": [
{
"language": "gdscript"
}
],
"views": {
"debug": [
{
"id": "active-scene-tree",
"name": "Active Scene Tree",
"when": "inDebugMode && debugType == 'godot'"
},
{
"id": "inspect-node",
"name": "Inspector",
"when": "inDebugMode && debugType == 'godot'"
}
]
},
"menus": {
"view/title": [
{
"command": "godot-tool.debugger.refresh_scene_tree",
"when": "view == active-scene-tree",
"group": "navigation"
},
{
"command": "godot-tool.debugger.refresh_inspector",
"when": "view == inspect-node",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "godot-tool.debugger.inspect_node",
"when": "view == active-scene-tree",
"group": "inline"
},
{
"command": "godot-tool.debugger.inspect_node",
"when": "view == inspect-node && viewItem == remote_object",
"group": "inline"
},
{
"command": "godot-tool.debugger.edit_value",
"when": "view == inspect-node && viewItem == editable_value",
"group": "inline"
}
],
"explorer/context": [
{
"command": "godot-tool.set_scene_file",
"group": "2_workspace"
}
]
}
},
"devDependencies": {
"@types/marked": "^0.6.5",
"@types/mocha": "^2.2.42",
"@types/node": "^10.12.21",
"@types/prismjs": "^1.16.0",
"@types/vscode": "^1.33.0",
"@types/ws": "^6.0.1",
"tslint": "^5.16.0",
"typescript": "^3.5.1",
"vsce": "^1.76.1"
},
"dependencies": {
"await-notify": "^1.0.1",
"global": "^4.4.0",
"marked": "^0.7.0",
"net": "^1.0.2",
"terminate": "^2.1.2",
"vscode-debugadapter": "^1.38.0",
"vscode-languageclient": "^5.2.1",
"ws": "^7.0.0"
}
}