cursor icon indicating copy to clipboard operation
cursor copied to clipboard

Generate code to add file reference

Open freewu32 opened this issue 2 years ago • 2 comments

When generating code, you can select the code files in the project and place them in the context of gpt. This produces code that more closely matches the prompt word

freewu32 avatar Mar 30 '23 03:03 freewu32

I think so, too. This can be added to TODO plan. Thank you very much for your suggestions. :)

sunray-ley avatar Mar 30 '23 08:03 sunray-ley

This is already possible in the chat windows in v0.2.0 and up, by selecting a block of code in a file, clicking into the chat window, and click the "+ Add Snippet" button. I don't believe it's available in the code prompt yet, so will triage as a potential enhancement.

danperks avatar Apr 10 '23 18:04 danperks

You can now quickly add any file to the chat or inline edits with the @ symbol.

jakobFNF avatar Oct 19 '23 20:10 jakobFNF