In which folder does Code store the unsaved text files? I have not clicked the save button and the file name is New Document. Where is it stored?

enter image description here

2 Answers 2


Documents that have never been saved are stored in:


As far as I know in the same directory you made text in as a hidden file.

  • This is true for documents that have already been saved somewhere that you're now editing. The question is referring to documents that have never been saved. Nov 18, 2020 at 9:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.