I’ve seen this a handful of times now but don’t yet have a solid repro case.
Here are the steps that typically lead to seeing it:
- Make some changes to a file in the IDE but don’t save
- Made a new method in the IDE
- IDE will open the new method
- Go back to the previous file and note that unsaved changes are lost
It’s frustrating that I can’t reproduce this though. I’ll run through the exact same sequence and it won’t happen again. Then I’ll be doing a screenshare session with someone and I’ll see it happen to them. So the bug has some subtleties that feel non-deterministic.