godotengine / godot-vscode-plugin

Godot development tools for VSCode
MIT License
1.47k stars 148 forks source link

Fix relative godotPath values not resolving correctly #655

Closed DaelonSuzuka closed 2 months ago

DaelonSuzuka commented 2 months ago

Should fix #654

Relative path values for editorPath.godot3 and editorPath.godot4 were failing to resolve properly. This PR should fix that behavior, plus standardize all the places the editorPath is being retrieved, so the same sanitization and path resolution is used everywhere.