Skip to content

Commit

Permalink
Resolves #842 -- better ordering for suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Cottle committed Nov 11, 2024
1 parent decee92 commit 095ba99
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/js/views/commandViews.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ const autoCompleteSuggestionOrder = [
'show solution', // above show goal since you start with a goal view
'reset', // over reset solved
'import level', // over import tree
// for the git commands, we did an analysis and got a better order.
// That way cherry pick is not before checkout
"git commit",
"git clone",
"git fakeTeamwork",
"git checkout",
"git branch",
"git fetch",
"git pull",
];

const allCommandsSorted = autoCompleteSuggestionOrder.concat(
Expand Down

0 comments on commit 095ba99

Please sign in to comment.