When I use Ctrl + F to replace the file content, the file is not saved, I have to manually press Ctrl + S to save it.
I tried restarting or reinstalling Cursor, but this problem still occurs.
It has caused me trouble many times. Because it causes git to not have a record of changes and commits.
Note that this problem usually occurs with Problems panel. If you accept the Problems panel’s auto-correction, the file will not be saved. Git will not show the change record.