Been happening to me for a while now. Seems to be fine most times, then somehow it gets triggered and gets really aggressive with auto-correcting by deleting perfectly good code. Then I have to reenter the same code three or four times before it remains. Would love to see this go away without having to disable auto-correct.