Skip to content

Commit 06cfeb4

Browse files
committed
Sort rust dependencies in tree view
1 parent e461e53 commit 06cfeb4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

editors/code/src/dependencies_provider.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ export class RustDependenciesProvider
8989
const dep = this.toDep(crate.name || "unknown", crate.version || "", crate.path);
9090
this.dependenciesMap[dep.dependencyPath.toLowerCase()] = dep;
9191
return dep;
92+
}).sort((a, b) => {
93+
return a.label.localeCompare(b.label)
9294
});
9395
}
9496

0 commit comments

Comments
 (0)