Open futuremotiondev opened 5 months ago
i founded this usefull
Second the suggestion. I have a set of code operations I perform often and prompting Copilot with examples would be much simpler than writing a custom VSCode extension that transforms at the AST level. Of course, if Codepilot could generate LSP suggestions for later, it would be even better.
Here's a suggestion: Save the custom prompt as a comment in a snippet and use autocomplete to complete your code.
Feature Request: Custom Prompts and Context Menu Integration
I almost exclusively use my own custom prompts instead of the built-in copilot prompts here:
I would like to request a mechanism to save custom prompts and optionally insert them into the Copilot context menu for convenient prompting.
I don't know how exactly this would be implemented, but one idea would be to expose 4-5 generic "prompt" commands under
contributes > commands
in thepackage.json
. See this example:Then let us configure what the exact prompts are in the general configuration:
Example:
Example, Populated:
This is just a quick example / mock-up for demonstration purposes - I'm sure your team could find the best way to integrate this kind of functionality.
It would be a fantastic workflow booster if something like this was implemented.
I appreciate any consideration.