If I open some single file (without creating any project), and then close and reopen VS Code, the file will be restored. Okay, that's what I want.
But, if I open some file, then close VS Code, and then open another single file, the first file will not be reopened.
Is there way to fix it? Probably, some changes in "User Settings" (?).
I've already tried
"window.restoreWindows": "all"
but it doesn't help.

I think this is the same issue as described in the following feature request:
Keep previously opened files when opening a single file instead of clearing all files (#14675)
Which means that no, this is not possible at the moment.
A new setting preserve for window.restoreWindows has been introduced (#15949) in version 1.52 November 2020. This should do just what you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With