Closed knuxbbs closed 4 years ago
I'm not sure if this can work out of the box due to sandboxing. Perhaps we could patch Godot to use flatpak-spawn
behind the scenes to run the external editor, like in https://github.com/flathub/org.godotengine.Godot/pull/38.
Maybe it works if you set the external editor to flatpak
and set the arguments to run com.visualstudio.code {file}
?
Also, are you using Visual Studio Code in a Flatpak or installed traditionally?
I'm using the official snap.
This flatpack version of Godot cannot open Visual Studio Code as an external editor, as indicated in the docs.
I've tested with the Steam version, and this worked finely.