When using SCM, I often get this bug after making changes to checked out files. I'll make some code changes, try to run the project, and then the error "unable to save modified code" will display. My entire code view is then displayed with a gray background. I am unable to save the file or check it in. I have to undo the checkout and start over.
Sometimes it happens immediately after I check out a file, which is actually preferable since I don't lose any new code. It seems fairly random. I haven't been able to reproduce it by doing similar actions. Sometimes it won't happen for a week or two. Sometimes it happens every day for a week. Sometimes it happens multiple times a day.
It's a pretty infuriating bug. Any way to avoid it?
Sometimes it happens immediately after I check out a file, which is actually preferable since I don't lose any new code. It seems fairly random. I haven't been able to reproduce it by doing similar actions. Sometimes it won't happen for a week or two. Sometimes it happens every day for a week. Sometimes it happens multiple times a day.
It's a pretty infuriating bug. Any way to avoid it?