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

Ability to reorder functions, macros, properties, signals, #792

Open
Shadowblitz16 opened this issue Sep 3, 2024 · 2 comments
Open

Ability to reorder functions, macros, properties, signals, #792

Shadowblitz16 opened this issue Sep 3, 2024 · 2 comments
Labels
kind/enhancement New feature or request
Milestone

Comments

@Shadowblitz16
Copy link

Description

Can we have the ability to reorder script definitions?

Implementation ideas

I was thinking up drag and drop

@Shadowblitz16 Shadowblitz16 added the kind/enhancement New feature or request label Sep 3, 2024
@Naros
Copy link
Member

Naros commented Sep 4, 2024

It's technically doable.

My concern is that if we store the sort order as part of the Orchestration resource and two users differ on what they prefer as the desired sort order, you will end up with a lot of VCS diffs where users reorder things.

I think things like this do not belong in the resource for various reasons. Many of Godot's UI widgets store a set of cache files in the project's .godot directory, which includes maintaining the editor's layout, favorites, and recently used items in specific dialogs. So, when you delete or rename the .godot directory, all that information is lost.

The benefit of using the .godot directory with a cache for this information is that different users can have their own preferred sort order that works best for their workflow.

From your perspective @Shadowblitz16, do you believe that caching the sort order in the .godot directory would be satisfactory for your use case?

@Shadowblitz16
Copy link
Author

It's technically doable.

My concern is that if we store the sort order as part of the Orchestration resource and two users differ on what they prefer as the desired sort order, you will end up with a lot of VCS diffs where users reorder things.

I think things like this do not belong in the resource for various reasons. Many of Godot's UI widgets store a set of cache files in the project's .godot directory, which includes maintaining the editor's layout, favorites, and recently used items in specific dialogs. So, when you delete or rename the .godot directory, all that information is lost.

The benefit of using the .godot directory with a cache for this information is that different users can have their own preferred sort order that works best for their workflow.

From your perspective @Shadowblitz16, do you believe that caching the sort order in the .godot directory would be satisfactory for your use case?

Mine is just a visual (OCD) issue they don't have to serialized in that order just appear in that order for me
So yes I think I am agreeing with you

@Naros Naros added this to the 2.2 milestone Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants