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

Run game from editor #34

Open
1 of 2 tasks
kraftwer1 opened this issue Nov 26, 2024 · 1 comment
Open
1 of 2 tasks

Run game from editor #34

kraftwer1 opened this issue Nov 26, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@kraftwer1
Copy link

kraftwer1 commented Nov 26, 2024

I love your work, thanks a lot! It brings a lot of efficiency and joy into my everyday life.

I'm submitting a...

  • Bug report.
  • Feature request.

Feature request

Describe the problem you're trying to solve.

Improve the development workflow.

Tell us which solutions you've explored, the solution you would pick, and why you think it would be the best for everyone.

It'd be really great if the game can be launched, restarted or stopped from within Zed. I find myself constantly switching between Zed and Godot only to run the game.

I don't know what's possible in terms of communicating or if Godot even offers an API for that. My inspiration was the editor: restart language server command that seems to be able to tell Godot to restart the LSP. Maybe it could tell it other things, too! ;-)

BONUS if it'd also work for EditorScripts.

Other

Other information

@NathanLovato NathanLovato added enhancement New feature or request good first issue Good for newcomers labels Nov 26, 2024
@NathanLovato
Copy link
Contributor

That'll be good to have, definitely! Currently I don't think Zed offers too many tools for plugin developers. For this, you need an API on Zed's side to run a command in the terminal, keep track of if the program stays alive, and kill the running program from Zed. It's all technically possible in Godot but as far as I know not possible yet on Zed's side.

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

No branches or pull requests

2 participants