Did you know – You can now AutoSave Files in Visual Studio 2022?

Did you know – You can now AutoSave Files in Visual Studio 2022?

Visual Studio 2022 now has Autosave features that automatically save files when Visual Studio is in the background. We can continue using our favorite shortcut with Ctrl+S to save Visual Studio files. However, Autosave in Visual Studio can be enabled, which will save all the unsaved documents as soon as focus leaves the Visual Studio editor. This is feature is already available in Visual Studio Code now we can have the same feature available in Visual Studio 2022

AutoSave in Visual Studio 2022

AutoSave in Visual Studio 2022 is a preview feature, and by default, it is turned off. Follow the below steps to enable it.

Related Tip: How to check the Health Status of Visual Studio Services?

Navigate from  Tools > Options > Environment > Preview Features and Enable the autosave.

Don’t See the Preview Features in Visual Studio – Try This

Once you have Autosave Enabled, when Visual Studio loses focus, all the unsaved documents will be saved.

Download Visual Studio 2022 – First Preview

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.