mirror of
https://github.com/godotengine/godot-csharp-vscode.git
synced 2026-01-05 22:10:02 +03:00
Try to find the Godot executable
Tries to find the Godot executable to set it in the generated `tasks.json` and `launch.json` files automatically for the user. The user can specify a custom path in the configuration to use as the Godot executable path, since it's unlikely we'll find it otherwise.
This commit is contained in:
11
package.json
11
package.json
@@ -39,6 +39,7 @@
|
||||
"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"
|
||||
},
|
||||
@@ -71,6 +72,16 @@
|
||||
}
|
||||
],
|
||||
"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",
|
||||
|
||||
Reference in New Issue
Block a user