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

IDE: Sort editor scripts commands alphabetically #8902

Open
aglitchman opened this issue May 9, 2024 · 2 comments
Open

IDE: Sort editor scripts commands alphabetically #8902

aglitchman opened this issue May 9, 2024 · 2 comments
Labels
editor scripts Issue related to editor scripts editor Issues related to the Defold editor feature request A suggestion for a new feature

Comments

@aglitchman
Copy link
Contributor

Is your feature request related to a problem? Please describe (REQUIRED):
I actively use Editor Scripts to create my own commands and the IDE often displays them out of order.

Describe the solution you'd like (REQUIRED):
It would be great if it sorted them alphabetically by name.

Describe alternatives you've considered (REQUIRED):
N/A

Additional context (OPTIONAL):
In this screenshot the commands are in random order, but in the editor script they come one after the other, alphabetically.
image

I couldn't reproduce this on an isolated example, but I still attached for ease of development for whoever implements this in the future 🙌

issue_editor_scripts_random.zip

@aglitchman aglitchman added the feature request A suggestion for a new feature label May 9, 2024
@britzl britzl added editor Issues related to the Defold editor editor scripts Issue related to editor scripts labels May 13, 2024
@vlaaad
Copy link
Contributor

vlaaad commented May 13, 2024

Good idea! Also, I just thought it would be nice if we also supported nested menus in extensions, so you could have a single "Convert to Ogg Vorbis" menu item with a drop down that suggests different conversion options. Do you think that would be useful for you?

@aglitchman
Copy link
Contributor Author

I just thought it would be nice if we also supported nested menus in extensions, so you could have a single "Convert to Ogg Vorbis" menu item with a drop down that suggests different conversion options. Do you think that would be useful for you?

Yes, that would be nice! I have a couple of commands that I have “grouped” for myself using a prefix: “Extension Name: Do That”

P.S. I was thinking that commands don't necessarily need to be sorted alphabetically. My request is more about the fact that they are sometimes randomized currently (so, is it a bug?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor scripts Issue related to editor scripts editor Issues related to the Defold editor feature request A suggestion for a new feature
Projects
None yet
Development

No branches or pull requests

3 participants