Cursor apply keeps deleting my code that it didnt change

I know this has been reported here before, but I am raising this as its reaching a level of unusability.

Whenever a change in code happens and I click on apply, code that was unchanged gets marked for deletion. This is very frustrating as it leads me to question why use cursor to begin with. When I could just copy paste the relevant blocks and avoid the deletion of everything else whenever applying changes.

This is irregular as I remember not long ago this problem didnt exist.

Not sure about the reasoning but I consider this a bug.

~/Library/Application Support/Cursor/User/settings.json

“editor.codeActionsOnSave”: {
“source.fixAll”: “explicit”
}

change to:

“editor.codeActionsOnSave”: {
“source.fixAll”: “false”
}