Viewing a single comment thread. View all comments

londons_explorer t1_j3xa6n2 wrote

> while I'm pretty sure you can't ask Github Copilot that

You can comment out the code, then write underneath:

"# Version above not working due to TypeError. Fixed version below:"

Then use Copilot completion. It will fix whatever the bug was.

31

SwitchOrganic t1_j3xah1u wrote

Oh interesting, that's a pretty clever solution.

Thanks for sharing!

12

Top_Lime1820 t1_j41sr9w wrote

Also you can ask CoPilot questions. Type your question in a comment after q:. Then create a new comment that starts with a: and it'll answer your question

# q: Which are the most popular R packages for plotting?

# a:

1