Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d3d6ba8

Browse files
authored
[ATL-1556] Sort board families in Tool menu (#486)
* [ATL-1556] Sort board families in Tool menu
1 parent 0f82e91 commit d3d6ba8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎arduino-ide-extension/src/browser/contributions/board-selection.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,9 @@ PID: ${PID}`;
185185
// Platform submenu
186186
const platformMenuPath = [...boardsPackagesGroup, packageId];
187187
// Note: Registering the same submenu twice is a noop. No need to group the boards per platform.
188-
this.menuModelRegistry.registerSubmenu(platformMenuPath, packageLabel);
188+
this.menuModelRegistry.registerSubmenu(platformMenuPath, packageLabel, {
189+
order: packageName.toLowerCase(),
190+
});
189191

190192
const id = `arduino-select-board--${fqbn}`;
191193
const command = { id };

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /