Comment VSCode Copilot does pretty good with common tasks (Score 1) 27
I've lately been using Copilot in VSCode to build a custom CRM/ticket management app to replace an ancient thing that was built in the early 2000s, in COBOL, and has various conniptions running on anything newer than XP.
I'd say the agent has autonomously written.. probably 95% of the code for a FastAPI backend and Vue.js frontend. Mostly with the model selection set on Auto. It seems to mainly use Codex and Claude Sonnet, delegating lighter tasks to Haiku. I can manually select some of the free models if I know a task is easy.
Frankly, I'm pretty amazed and slightly disturbed by how "smart" it seems -- "Here's a table schema. Make some API endpoints to get, put and post this." [working
It even came up with some SQL constructs that were better than what I would have done by hand (I'm competent but by no means guru-level in SQL).
Had less luck using it to do harder stuff like embedded microcontroller projects. It's all dependent on how commonplace is what you're doing -- FastAPI and Vue are everywhere, it's good at that. Arduino, pretty good. ESP-IDF or STM32Cube, less so. Needs a lot more handholding.
Would I trust the output if I didn't know how to read and critique the generated code? Absolutely not. Or maybe I would, if I were at the right point on the Dunning-Kruger graph to not even know what I don't know. Does it do stupid stuff occasionally, like implement an API endpoint correctly but forget to require authentication on it, even though all the other ones in the same file have authentication? You bet. It reimplements functions that are already implemented in shared includes, then later notices that it did that and offers to consolidate them.
Gotta watch the context windows, break stuff down into manageable chunks, generate an action plan and then execute it in steps. Gotta keep everything in manageable commits, so if it does something completely boneheaded and breaking, you can roll it back and have another go. (the VSCode UI also has some functionality for this, showing every agent change as a color-coded diff for review)
It saves a hell of a lot of time doing the drudgery of cookie-cutter HTML/CSS, and it's pretty decent with the backend stuff.
I'm using the minimum paid Copilot Pro plan, and used about 65% of one month's premium requests on this project (and a few brief digressions). I think I've gotten more value out of that than I paid for the whole year, and I'll no doubt be continuing to use it to work on little projects that have been languishing forever because I just don't have the time.