Sort Board menus as done in Arduino IDE 1.x #802
Labels
conclusion: resolved
Issue was resolved
criticality: medium
Of moderate impact
priority: medium
Resolution is a medium priority
topic: CLI
Related to Arduino CLI
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
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'sboards.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
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
Date: 2022-01-31T13:15:29.574Z
CLI Version: 0.20.2 [13783819]
Additional context
Related:
The text was updated successfully, but these errors were encountered: