Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a visual studio automatic save configuration setting?

People also ask

How do I set autosave in Visual Studio?

Use Visual Studio Search (Ctrl+Q) and look for “autosave”. That will take you to the Environment\Documents page in Tools\Options.

How does Visual Studio save code automatically?

The easiest way to turn on Auto Save is with the File > Auto Save toggle that turns on and off save after a delay. For more control over Auto Save , open User or Workspace settings and find the associated settings: files.

How do I save changes in Visual Studio 2019?

Hit save all once and/or Ctrl +S, as you note that save is disabled.


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.


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


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.