Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97420

How to stop VScode reverting my changes after save

$
0
0

I have a super tedious issue with VSCode (run in POP!) wherein it will revert my changes back a few steps after I save or if I leave the code pane open for a while without any typing. I only use VScode for Python and the only extension I have is 'Python' by Microsoft.

This is an issue because my current project has numerous modules some of which have many lines of code and when VScode makes random reverts it sometimes takes time to find why my code no longer runs.

Some other information:

  • If I am watching, I can see the code changing
  • I recently figured out I can ctrl-z the reverts back to my code if I haven't changed panes

What am I missing in VScode which may do this?

EDIT: For this given project, all my files are stored in my SpiderOak Hive (folder synced across a few computers). I think the problem may have to do with the syncing software pushing the updated file to the other synced computers. But that is just my working theory right now. I'm testing it against local python files, which is also tough, because typing meaningless python code is tedious.


Viewing all articles
Browse latest Browse all 97420

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>