Nx Vscode extension, add section that shows recent run commands
Description
Common NX Commands is nice to have, but in very large monorepos where most developers only work on a part of that monorepo it can be time consuming to sift through hundreds of commands to find the ones I need to use. Having a list of my most recent run commands would help reduce the amount of time users need to spend looking for the commands that matter to them.
Motivation
Help save time for devs working inside a small part of a larger monorepo
Suggested Implementation
- Add a new section to the NX console simliiar to how
Common NX Commandsworks - Persist recent commands at the workspace level in VSCode.
Love this idea! I don't really like the thought of adding a new section, but if there was a toggle between 'common commands' and 'recent commands' maybe, that could be cool. I don't think I'll have time to get to this soon, but if am open to a community contribution here.
Until then, you can use the workbench.action.tasks.runTask action to get a list of the most recent tasks run via vscode. Nx Console will populate this view with anything you run. Similarly, workbench.action.tasks.reRunTask will rerun the last one if you just need that :)