I have the exact opposite Problem of this question: Visual Studio Code always reopens previous file or folder
VSCode never seems to remembery my previously opened fi
You could try the settings option:
"window.reopenFolders": "all"
This should reopen everything that was opened when you closed the editor, but I haven't tested it. I usually prefer that nothing gets reopened, so I use none. The default is one.
none
one