How to keep unsaved file into vs code workspace? November 25, 2023 by Tarik In VS Code 1.19 you can use the files.hotExit setting: https://code.visualstudio.com/docs/editor/codebasics#_hot-exit