or what library would I use to XYZ in ABC language?
I'm really asking. I've never played with co-pilot
you can write a comment above a function explaining what the function will do, and it will give multiple suggestions of what it thinks you're trying to do.
like chatGPT, a lot of code it gives you is not really exactly what you want (or might not work at all), but it offers a really good boiler plate to make small changes on to achieve what you want. it's definitely removed a lot of tedium for me in some ways.
first example that comes to mind is http requests. i use the same kind of style of writing a request function with error handling, and when i start a new project and start writing a new http request handler, it already knows how i've done it in the past and can offer an almost completed version with whatever changes i need added to it for the new project.