Improve path handling when starting processes (#575)

`editorPath.godot3/4` setting and `editor_path` debug configuration now correctly handle paths with spaces or surrounded with quotes.
This commit is contained in:
Daelon Suzuka
2024-01-24 21:14:39 -05:00
committed by GitHub
parent ccfd30755e
commit e2f2dc4b93
9 changed files with 129 additions and 43 deletions

View File

@@ -226,12 +226,12 @@
"godotTools.editorPath.godot3": {
"type": "string",
"default": "godot3",
"description": "The absolute path to the Godot 3 editor executable"
"description": "Path to the Godot 3 editor executable"
},
"godotTools.editorPath.godot4": {
"type": "string",
"default": "godot4",
"description": "The absolute path to the Godot 4 editor executable"
"description": "Path to the Godot 4 editor executable"
},
"godotTools.editor.verbose": {
"type": "boolean",
@@ -266,6 +266,8 @@
"godotTools.lsp.serverPort": {
"type": "number",
"default": 6008,
"minimum": 0,
"maximum": 65535,
"description": "The server port of the GDScript language server"
},
"godotTools.lsp.headless": {