This was just me interacting through text prompts. I could imagine some kind of more integrated solution where you can provide some basic test cases, and the system would run those cases through code proposed by the LLM could go a long way towards improving this.
For now it seems mainly useful as a way of getting a quick first draft of some code which I then have to fix up and get fully working myself.
In my experience 90% of code is 90% the same as another piece of code in the same repo, with small differences, and copilot will make you fly writing that code.
If you can't read the output code, does it mean the rest of your codebase is similarly unreadable?
The complexity in a codebase or a system is usually from different parts integrating or an overall architecture, but that's totally different to an individual function
In that case I think I was better off not relying on the tool. I do find it nice to steer me in a direction, but the things I use tend to be niche enough that I don't get the benefit many others do.
I also have a feeling you and I are using it in different capacities.
Even though the structure of the code in the file was ok, it called some APIs that did not exist, it created a new var `this._menu` for the dropdown that was not needed (this.menu already exists) and in the end I still had to go through gnome extensions docs to figure out how to do it right.
Overall I don't regret using it but the experience wasn't magical, as I guess we all want it.
Just this week we made it available on https://double.bot (VS COde Copilot extension). Have been getting similar feedback from multiple users
I had tried a simple experiment to generate some basic Go REST service, XML parsing code, using Bard and ChatGPT and they were actually not bad. But, that was a very simple and new code.