Skip to content

Commit

Permalink
[ATL-1556] Sort board families in Tool menu (arduino#486)
Browse files Browse the repository at this point in the history
* [ATL-1556] Sort board families in Tool menu
  • Loading branch information
fstasi authored Aug 26, 2021
1 parent 0f82e91 commit d3d6ba8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ PID: ${PID}`;
// Platform submenu
const platformMenuPath = [...boardsPackagesGroup, packageId];
// Note: Registering the same submenu twice is a noop. No need to group the boards per platform.
this.menuModelRegistry.registerSubmenu(platformMenuPath, packageLabel);
this.menuModelRegistry.registerSubmenu(platformMenuPath, packageLabel, {
order: packageName.toLowerCase(),
});

const id = `arduino-select-board--${fqbn}`;
const command = { id };
Expand Down

0 comments on commit d3d6ba8

Please sign in to comment.