News for hackers. Stuff that matters.
Re:GitHub Copilot by verst on Tuesday June 29, 2021 @11:38AM (#27677431)
This is not true - and I've been using copilot for many months :)

It suggests entire blocks of code - but not in every context.

Re:GitHub Copilot by fzaninotto on Tuesday June 29, 2021 @11:52AM (#27677662)
My bad, you're right. I remember now that it suggested me entire code blocks from time to time.

Do you know in which "context" it suggests a block?

Re:GitHub Copilot by verst on Tuesday June 29, 2021 @12:47PM (#27678446)
It usually suggests blocks within a function / method in my experience. Here's an example I created just now:

https://gist.github.com/berndverst/1db9bae37f3c809e5c3f56262...