Is there a visual studio automatic save configuration setting?

Visual StudioVisual Studio-2008ResharperAutosave

Visual Studio Problem Overview


I use the java IDE IntelliJ IDEA and one of the features I like is that there's no saving. Everything's always saved and you just use history navigation. I tend to have both editors open and I'm always forgetting to save in VS.

I'm running vs 2008 with resharper 4.5 but as far as I can tell this isn't achievable or configurable. Any suggestions?

Visual Studio Solutions


Solution 1 - Visual Studio

For VS 2019, the Auto Save File extension seems to work as expected.

It saves individual files on lost focus, can save all files when VS loses focus and can also save all after an inactivity delay.

In VS 2015, I used to use NoMorePanicSave2015.

It does an equivalent of Ctrl+Shift+S when Visual Studio loses focus, which saves all your files, including solution and projects.

Solution 2 - Visual Studio

Another plugin: CBAutoSave

> This extension can automatically save modified documents, projects, and the solution whenever Visual Studio loses focus. > > Saving of modified documents is on by default, while automatically saving projects and the solution is not. All options are configurable through the Visual Studio options dialog.

Solution 3 - Visual Studio

In VS2017/19 Community there is Auto-Recover option under tools->options->autorecover. It will not autosave unless there is a crash, so it may be a good compromise.

In VS2019 its under tools->Options->Environment-AutoRecover.

how-to-auto-save-work-on-visual-studio

Solution 4 - Visual Studio

Visual Studio 2008 will probably be the same:

http://www.howtogeek.com/howto/programming/configure-autosave-autorecovery-of-crashed-projects-in-visual-studio-2005/

However, it's not "no saving" but you can set it down to 1 minute.

Solution 5 - Visual Studio

There is an autosave, but I must admit that it doesn't seem to always work for me - notably I suspect that it only saves files, but not projects/solutions, or the .user and .suo files. I don't have any links to prove this mind you.

Solution 6 - Visual Studio

Visual Studio 2022 (Enterprise) has auto save option. But you have to enable it.

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

here is a screenshot

Solution 7 - Visual Studio

Visual Studio 17.2 can now automatically save code documents whenever the application loses focus. This feature can be accessed via Tools > Options > Environment > Document.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionDanielView Question on Stackoverflow
Solution 1 - Visual StudioMichael KonečnýView Answer on Stackoverflow
Solution 2 - Visual StudiogregmacView Answer on Stackoverflow
Solution 3 - Visual StudioestinamirView Answer on Stackoverflow
Solution 4 - Visual StudiojasonhView Answer on Stackoverflow
Solution 5 - Visual StudioBenjolView Answer on Stackoverflow
Solution 6 - Visual StudioGaya4lkView Answer on Stackoverflow
Solution 7 - Visual StudioZinoulinkView Answer on Stackoverflow