Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use VS Code as external editor #55

Closed
knuxbbs opened this issue Feb 12, 2020 · 2 comments · Fixed by #58
Closed

Cannot use VS Code as external editor #55

knuxbbs opened this issue Feb 12, 2020 · 2 comments · Fixed by #58
Labels
enhancement New feature or request

Comments

@knuxbbs
Copy link

knuxbbs commented Feb 12, 2020

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.

@Calinou Calinou added the enhancement New feature or request label Feb 12, 2020
@Calinou
Copy link
Collaborator

Calinou commented Feb 12, 2020

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 #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?

@knuxbbs
Copy link
Author

knuxbbs commented Feb 12, 2020

I'm using the official snap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants