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

Sort Tools > Programmer menu like the classic IDE does #824

Open
per1234 opened this issue Feb 10, 2022 · 0 comments
Open

Sort Tools > Programmer menu like the classic IDE does #824

per1234 opened this issue Feb 10, 2022 · 0 comments
Assignees
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@per1234
Copy link
Contributor

per1234 commented Feb 10, 2022

Describe the current behavior

Arduino IDE 1.x sorts the Tools > Programmer menu according to the order of occurrence of the name property for each programmer definition in the platform's programmers.txt configuration file. This allows the platform developer to sort the programmers in some logical order in the menu (e.g., putting commonly used programmers at the top of the menu, or grouping related programmers together).

Arduino IDE 2.x sorts them by alphabetical order, which gives the platform author no control.


Arduino IDE 1.x:

image

Arduino IDE 2.x:

image

To reproduce

  1. Select Tools > Board > Arduino AVR Boards from the Arduino IDE menus.
  2. Select Tools > Programmer from the Arduino IDE menus.
  3. Note the order of the programmers in the menu.
  4. Compare this to the order of occurrence of the name properties for each board definition in the platform's programmers.txt file:
    https://github.com/arduino/ArduinoCore-avr/blob/1.8.4/programmers.txt

🙁 the Arduino IDE menu sort order does not match the order in programmers.txt

Describe the request

Sort Tools > Programmer menu according to the order in programmers.txt.

Desktop

  • OS: Windows 10
  • Version: 2.0.0-rc3-snapshot.759b410
    Date: 2022-01-31T13:15:29.574Z
    CLI Version: 0.20.2 [13783819]

Additional context


Related:

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

2 participants