title: Vscode randomly remove code when using format on save
body: <p>I am using <strong>format on save</strong> feature in vscode for a while. And sometimes when i save, which invoking <strong>format on save</strong>, vscode randomly remove function and other sentence. I dont have any formatting extension. <a href="https://i.stack.imgur.com/7K2UR.png" rel="nofollow noreferrer">Here is the image</a>. I can just undo but im really afraid its not restore all the code.</p>