When I was less experienced, my code was more error-prone and micro-commits saved me often. Either way, VSCode won’t lose your progress regardless of how it quits. It will always drop my undo history on restarts though (which can be a real pain if I’m exploring and haven’t made a commit in hours).