CodeGPT
CodeGPT copied to clipboard
Allow access to prompts from chat
Describe the need of your request
When creating tests for selected code, the system currently only uses the context of the selected file. I want to extend this to include an example test file as part of the context, because I have lines like Examine and follow established patterns from existing test implementations | Only import symbols that aren't already imported in given test file in my testing prompt.
Quick access to prompts would be useful for many cases, but for this case I can imagine two alternative solutions;
- Allowing user to add more files / extra prompts before actually running the prompt.
- Auto-including at least one test file from open files, assuming "test" would be used in file name or at least path.
Right now I just stop/reload generation after including the test file, but this is wasteful for everyone.
Proposed solution
No response
Additional context
No response