Skip to content

Commit f6e623c

Browse files
Sebastian-Brzuzekkittaakos
authored andcommitted
Fixed sorting of sketches and examples - ignore case
issue #185
1 parent 1e0f52b commit f6e623c

File tree

1 file changed

+1
-1
lines changed
  • arduino-ide-extension/src/browser/contributions

1 file changed

+1
-1
lines changed

arduino-ide-extension/src/browser/contributions/examples.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export abstract class Examples extends SketchContribution {
100100
}
101101
};
102102
pushToDispose.push(this.commandRegistry.registerCommand(command, handler));
103-
this.menuRegistry.registerMenuAction(submenuPath, { commandId, label: sketch.name });
103+
this.menuRegistry.registerMenuAction(submenuPath, { commandId, label: sketch.name, order: sketch.name.toLocaleLowerCase() });
104104
pushToDispose.push(Disposable.create(() => this.menuRegistry.unregisterMenuAction(command)));
105105
}
106106
}

0 commit comments

Comments
 (0)