I use continue in VSCode hooked to ollama or mistrial. Sometimes I just ask a chat to "make a script/config that does <my MVP of the project, maybe even less>".
How much I use depends on how little I am invested. My rule is I try to correct a bad output ONCE. I cannot argue it into fucking getting it right.
I prefer net new code and add this feature. Ironically good refactoring goes a long way. The less it has to adjust the better, and less I have to review the better.