Editing programming code with chatGPT

I am on Linux Mint 21.2, Google Chrome stable, @ chatgpt dot com. I use chatGPT to assist me in editing code. If I ask it to fix an error or add a feature - it throws pages of new code at me - and I know this code can not be trusted. So I have to do diff and compare the new and old variants line by line. Besides, it can ditch any amount of my features.
Is it possible to make it pinpoint the change it offers in small amounts of code?