3 ms·
in my experience (i also have codepilot) it's much better aligned as being an "intelligent" extended auto-completion. it learns from your own projects/style and
by slashz0r 4y ago
in my experience (i also have codepilot) it's much better aligned as being an "intelligent" extended auto-completion. it learns from your own projects/style and obviously other code on github.
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.