Skip to content

File > Sketches menu sorting puts capitalised names first #185

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

Closed
ubidefeo opened this issue Mar 8, 2021 · 4 comments
Closed

File > Sketches menu sorting puts capitalised names first #185

ubidefeo opened this issue Mar 8, 2021 · 4 comments
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself

Comments

@ubidefeo
Copy link

ubidefeo commented Mar 8, 2021

Describe the bug
When the sketchbook menu is expanded all the ones which have capitalised names come as a group in alphabetical order, followed by a group of examples with lowercase names as another group (see screenshot)

To Reproduce
Steps to reproduce the behavior:

  1. File > Sketchbook
  2. Scroll examples
  3. Notice that uppercase named sketches are grouped first

Expected behavior
Sketches should be in true alphabetical order, despite their initial

Screenshots
Screenshot 2021-03-08 at 16 13 25

Desktop (please complete the following information):

  • OS: Mac OS 10.15.7
  • Version: 2.0.0-beta.3 Date: 2021-02-26T10:47:47.411Z
@silvanocerza
Copy link
Contributor

I think that list is generated directly by the IDE, it's not a concern of the CLI as of now.

@ubidefeo
Copy link
Author

thanks @silvanocerza
@kittaakos can you look into this?

@Sebastian-Brzuzek
Copy link
Contributor

Sebastian-Brzuzek commented Mar 15, 2021

I'm new here, so I'm not sure if proposed solution is reasonable, but it looks like assing "order" property with lower case "label" value in sketches/examples solves the issue without impacting other elements. (I have tested solution on Windows only)

Sebastian-Brzuzek added a commit to Sebastian-Brzuzek/theia that referenced this issue Mar 15, 2021
change of default sort behavior - general solution for bugs like arduino/arduino-ide#185
@ubidefeo
Copy link
Author

Closed by #222

@ubidefeo ubidefeo added the conclusion: resolved Issue was resolved label Mar 19, 2021
@per1234 per1234 added the topic: code Related to content of the project itself label Oct 29, 2021
@per1234 per1234 changed the title Sketchesd in alphabetical order but capitalised are grouped first File > Sketches menu sorting puts capitalised names first Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself
Projects
None yet
Development

No branches or pull requests

5 participants