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

Add a .gdextension file editor, like the GDNative bottom panel editor #9898

Open
greenfox1505 opened this issue Jun 6, 2024 · 3 comments
Open

Comments

@greenfox1505
Copy link

Describe the project you are working on

I do a lot of GDExt tiny projects and expirements. It requires a lot of manual set up that could be easier with the tooling that we had for GDNative, as seen here: https://docs.godotengine.org/en/3.5/tutorials/scripting/gdnative/gdnative_c_example.html#platform-libraries

Describe the problem or limitation you are having in your project

Just consumes time to manually set up and verify .gdextension files. Typeos cause issues that are often hard to diagnose.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Basically, I just want this kind of tool again: https://docs.godotengine.org/en/3.5/tutorials/scripting/gdnative/gdnative_c_example.html#platform-libraries

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Like this tool here: https://docs.godotengine.org/en/3.5/tutorials/scripting/gdnative/gdnative_c_example.html#platform-libraries

If this enhancement will not be used often, can it be worked around with a few lines of script?

No. It wouldn't be a "a few lines of scripts". But it could be whole plugin.

Is there a reason why this should be core and not an add-on in the asset library?

Because it is a regression from GDNative. A feature that was offered now no longer exists.

@AThousandShips
Copy link
Member

See also:

@dsnopek
Copy link

dsnopek commented Jun 10, 2024

If we did something like this, we'd ideally need to allow unrecognized things in the .gdextension file to "pass through" when edited with older versions of Godot. I can imagine someone making a GDExtension which can be loaded by multiple versions of Godot, where it contains some stuff that'll only be recognized by newer versions of Godot, and we don't want that stuff to accidentally get stripped out by the editor. I don't know how practical it is to do that, though.

@Calinou Calinou changed the title .gdextension file editor, like the GDNative bottom panel editor Add a .gdextension file editor, like the GDNative bottom panel editor Jun 10, 2024
@aaronfranke
Copy link
Member

I have made a basic .gdextension file editor in PR #90979:

Screenshot 2024-09-20 at 2 01 18 AM

In the first version of the PR, it included the ability to edit library paths, like the GDNative bottom panel editor, and also icon paths. However, there was feedback that editing this was a poor experience. After my PR is merged, someone could make a follow-up to expand the editor with more features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants