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 option to sort scripts by last modified in editor script sidebar #11656

Closed
vaner-org opened this issue Jan 28, 2025 · 1 comment
Closed
Labels

Comments

@vaner-org
Copy link

Describe the project you are working on

A third person stealth game with lots of interlocked scripts that I often jump back and forth between.

Describe the problem or limitation you are having in your project

When the scripts inspector in the left sidebar of the script editor gets very cluttered, it becomes a little difficult to find scripts, especially since they are initially sorted alphabetically but can also be manually rearranged. They turn blue when edited, but the list can grow very long very fast.

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

A button that would allow scripts to be sorted alphabetically or by last modified. This can be rearranged by dragging as the user currently can, but the two behaviors would enact their rules accordingly. The alphabetical setting would continue to insert new scripts where it wants to, and last modified would track changes and place the most recently edited scripts on top.

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

A toggle button similar to what the methods list below has, with the tooltip either "Sorting scripts alphabetically" or "Sorting scripts by last modified" depending on which is selected.

Image

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

It will be used very often.

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

It improves editor usability.

@AThousandShips
Copy link
Member

Thank you for your proposal, this is already tracked in:

Please add any further feedback there

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

No branches or pull requests

2 participants