VS asks me if I want to save unused/untouched files before closing the file out.



  • I have VS set to automatically open a brand new document each time I start up VS. Many days, I'm starting something new and it's nice to have a standard file open and ready to use.

    Not a major thing, but I noticed that if I don't use it and it sits there for a while, when I close it, it asks me if I want to save it before closing the file out. I have not touched the file at all and it still asks me that. Out of curiosity, I opened VS just now after applying the new build and immediately closed out the new empty file that was created and there was no save warning.

    My file generation is set up to save a backup every ten minutes, so I wonder if this contributes to what VS feels needs to be saved?
    Would it be possible to have VS start that backup save process (or whatever is causing VS to think a new empty unused file has something worth saving) when the user first adds or alters something in that file?

    0_1701777971046_d199981a-637d-4790-9bee-fe1cbfb2c97d-BLD 2023-12-05 at 07.02.24.png


  • administrators

    @Boldline I will try to replicate this.



  • @VectorStyler said in VS asks me if I want to save unused/untouched files before closing the file out.:

    @Boldline I will try to replicate this.

    This is what I have activated on the standard document creation:
    0_1701779462712_6d1424f1-0791-4d32-88b9-9fec1cf1379c-BLD 2023-12-05 at 07.29.53.png

    This is what I have my applicable settings set to:
    0_1701779527186_0a58e9e0-e22c-4894-846b-e0a8f46c3594-BLD 2023-12-05 at 07.31.42.png