Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Copilot pulls in similar code from your current project as part of its prompt.

If you understand how it works you can sometimes lay out your code in a way that makes it more likely to include the relevant examples to get the effect that you want.

There is no guidance or documentation for this at all!

I've been running a hack to help me see the prompts in order to better understand what's going on: https://gist.github.com/simonw/30fec0ac20244b4b921532b63b8b0...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: