Add "recent commands' to Command Palette in commandline mode #11445

Open
opened 2026-01-31 02:47:52 +00:00 by claunia · 0 comments
Owner

Originally created by @Don-Vito on GitHub (Nov 16, 2020).

Originally assigned to: @Don-Vito on GitHub.

Description of the new feature/enhancement

The idea is to store the history of the recent commands dispatched from command palette in command line mode. This history will be presented below the search bar. Typing in the search bar will filter the relevant history items (similar to the behavior we already have with filtering commands in action mode).

image

Usually when I use command palette in the command line mode I do it to run the same commands.
This feature will save me a lot of typing and prevent typos.

Proposed technical implementation details (optional)

I am not sure what is the best place to store the history, and what are the security concerns if exist.
We can start with storing the history in memory for the current session.

Originally created by @Don-Vito on GitHub (Nov 16, 2020). Originally assigned to: @Don-Vito on GitHub. # Description of the new feature/enhancement The idea is to store the history of the recent commands dispatched from command palette in command line mode. This history will be presented below the search bar. Typing in the search bar will filter the relevant history items (similar to the behavior we already have with filtering commands in action mode). ![image](https://user-images.githubusercontent.com/4639110/99311239-f5c37480-2864-11eb-8c2b-3b46e5ea66e8.png) <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> Usually when I use command palette in the command line mode I do it to run the same commands. This feature will save me a lot of typing and prevent typos. # Proposed technical implementation details (optional) I am not sure what is the best place to store the history, and what are the security concerns if exist. We can start with storing the history in memory for the current session. <!-- A clear and concise description of what you want to happen. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11445