-
-
Notifications
You must be signed in to change notification settings - Fork 142
Description
Problem
Users of the command palette may often run the same command.
However when opening the command palette again the same set of commands is always displayed in the same order. And users have to search for the commands.
Proposed Solution
Have the CommandPalette
offer an opt-in way to support recently executed commands.
For reference VS Code offers something like this:
With a setting to control the "number of recently used commands to keep in history":
So the Lumino CommandPalette
could also expose a way to configure the history size. So downstream applications like JupyterLab could surface that in the setting editor.
This change should of course be backwards compatible.
Additional context
Some comments in jupyterlab/jupyterlab#4365 indicate we could add a frequency
or "execution count" for each command item in the CommandPalette
.