GDQuest / zed-gdscript

Zed support for the GDScript language
MIT License
37 stars 10 forks source link

Add godot resource support #3

Closed moomerman closed 5 months ago

moomerman commented 7 months ago

This adds support for other Godot resource files like .tscn and .godot.

I was unsure whether to make this another extension or have it part of this extension, interested in your thoughts.

There's a strange thing currently where if you save one of the resource files it tries to send it to the language server. I'm not sure if there's a way to prevent this, or maybe it is just another reason to have it as a separate extension.

Screenshots

image

image

grndctrl commented 7 months ago

I was unsure whether to make this another extension or have it part of this extension, interested in your thoughts.

It would be nice to have one Godot package, but then the naming of this extension is wrong.

There's a strange thing currently where if you save one of the resource files it tries to send it to the language server. I'm not sure if there's a way to prevent this, or maybe it is just another reason to have it as a separate extension.

Is there a way to filter on file extensions?

grndctrl commented 7 months ago

When trying to open a .tscn in "External Editor" from within Godot, I get an error:

The application can't be opened. -50

What launch commands do you use?

EDIT: Mind you, the file opens fine if I just open it in Zed myself.