Check out continue.dev or (my favorite) Zed. It allows you to generate code in patch format and the editor will apply the changes to the various files itself. Copy pasting from ChatGPT is so 2023.
I don't want to replace my IDE (intellij) because I actually like it and use a lot of what it does most of which is not supported in other tools. I want AI models to work with my tools.
Tools like this are alright if your expectations of an IDE are low. E.g. if you are happy using just VS Code or whatever. Unfortunately I'm used to a bit more than that. Jetbrains has been doing some of their AI stuff. But I haven't really looked at it that much.
Don't get me wrong; I actually use VS Code for some stuff. But it's just not a replacement for intellij. Not even close. So, not really looking for IDEs with even less features just so I can have some AI.