Description
Describe the current behavior
Arduino IDE 1.x sorts the menu for each platform in Tools > Board (e.g., Tools > Board > Arduino AVR Boards) according to the order of occurrence of the name
property for each board definitions in the platform's boards.txt
configuration file. This allows the platform developer to sort the boards in some logical order in the menu (e.g., putting commonly used boards at the top of the menu, or grouping related boards together).
Arduino IDE 2.x sorts them by alphabetical order, which gives the platform author no control. For example, in the Arduino IDE 2.x menu for the Arduino AVR Boards platform menu, the first 8 boards are 3rd party or retired.
Arduino IDE 1.x:
Arduino IDE 2.x:
To reproduce
- Select Tools > Board > Arduino AVR Boards from the Arduino IDE menus.
- Note the order of the boards in the menu.
- Compare this to the order of occurrence of the
name
properties for each board definition in the platform'sboards.txt
file:
https://github.com/arduino/ArduinoCore-avr/blob/1.8.4/boards.txt
🙁 the Arduino IDE menu sort order does not match the order in boards.txt
Describe the request
Tools > Board menu for each platform is sorted according to the order in boards.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]