Is there a visual studio automatic save configuration setting?

Viewed 63162

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?

7 Answers

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.

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

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.

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

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.

Related