zlacker

[parent] [thread] 2 comments
1. rkuyke+(OP)[view] [source] 2024-02-13 21:58:20
> Do you just dump the file in to the chat window?

Yes, along with what you want it to do.

> I also pay for github copilot, but not GPT-4. Can I use copilot for this?

Not that I know of. CoPilot is good at generating new code but can't change existing code.

replies(2): >>redbla+p1 >>jjwise+L1
2. redbla+p1[view] [source] 2024-02-13 22:06:15
>>rkuyke+(OP)
Copilot will change existing code. (though I find it's often not very good at it) I frequently highlight a section of code that has an issue, press ctrl-i and type something like "/fix SomeError: You did it wrong"
3. jjwise+L1[view] [source] 2024-02-13 22:09:27
>>rkuyke+(OP)
GitHub Copilot Chat (which is part of Copilot) can change existing code. The UI is that you select some code, then tell it what you want. It returns a diff that you can accept or reject. https://docs.github.com/en/copilot/github-copilot-chat/about...
[go to top]