godotengine / godotengine/godot-vscode-plugin

Add "godotTools.editorPath.godot4.{os_name}" setting options to allow setting the path seperatly per OS (windows, linux, mac, etc)

Open
#778 6 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
2.1k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

### Godot version

4.3 or 4.4 beta1

### VS Code version

1.93.1

### Godot Tools VS Code extension version

2.3.0

### System information

Windows, Linux, and MacOS

### Problem statement

I use VSCode's settings and profile sync feature to sync my VSCode settings between my different computers which run different OS's (Windows 11, Linux (Fedora), and Mac). Right now, I have to keep 3 lines (2 commented out) of the `godotTools.editorPath.godot4` setting.

### Proposed solution

Ideally, I would be able to configure this per OS, or override it per OS. I picture the config working similarly to how VSCode Terminal Profiles work: https://code.visualstudio.com/docs/terminal/profiles

For example:

```json5
{
"godotTools.editorPath.godot4": "default/fallback path to godot executable",
"godotTools.editorPath.godot4.win": "path to windows godot executable",
"godotTools.editorPath.godot4.linux": "path to linux godot executable",
"godotTools.editorPath.godot4.osx": "path to osx godot executable",
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.