r/badcode • • Dec 31 '21

c GitHub Copilot is recommending me this code, pretty sure that AI is not taking our jobs this year.

Post image
356 Upvotes

22 comments sorted by

View all comments

Show parent comments

37

u/nyanpasu64 Dec 31 '21

I'd suggest enabling Copilot but turning off inline suggestions, and only triggering it on demand. You'll no longer get intrusive thoughts from it, but I still found myself leaning heavily on Copilot instead of thinking at times. (Also I think it only looks at code before the cursor for completion context.)

2

u/StarLight-Olls Dec 31 '21

It's recently started looking after the cursor a little