Skip to content

Commit

Permalink
stable sort menu order
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Oct 26, 2023
1 parent 8fdcaef commit 99fc1ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vscode/src/codeactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class CodeActionProvider implements vscode.CodeActionProvider {
).values()
)
.slice(0, 3)
.sort((l, r) => l.title.localeCompare(r.title))
.map((t) => {
const a = new vscode.CodeAction(
`Run '${t.title}'`,
Expand Down

0 comments on commit 99fc1ac

Please sign in to comment.