I use JetBrains IDE's and AI Chat, which is able to look at your files, but it doesn't change your files. It'll propose new changes or full source code files when needed. A bit safer and it's fairly efficient to me.
When things change in the IDE you just start a new chat to avoid too much context that is now out of date.