corbt / clippy-ai

VS Code extension to connect to OpenAI Codex
37 stars 10 forks source link

Cache/record prompts #2

Closed ldorigo closed 1 year ago

ldorigo commented 2 years ago

Hey!

Great extension, much better (for now) than copilot for inserting docstrings/type information and refactoring.

Only gripe I have is that currently I have to re-enter (or copy-paste) prompts if I want to apply them multiple time. Would it be possible to either keep a history of previous prompts, or to record them and maybe even assign them to keyboard shortcuts? That would bring this extension from a nice demo to a huge productivity booster ;-)

corbt commented 2 years ago

I think that would be a great addition, and something I've thought about as well! Would you feel comfortable opening a PR to add this functionality?

ldorigo commented 2 years ago

Sorry I haven't answered further. I will put this on my to-do list of mini projects, but I will not have time to look at it before a few more weeks, so if you feel like it, please go ahead :-) (I never wrote vscode extensions so it would likely take me significantly longer anyway... )

corbt commented 1 year ago

A recent-command history has just been released in 0.5.0. Thanks go to @K0IN in https://github.com/corbt/clippy-ai/pull/4!