views:

20

answers:

1

Is it possible either in the standard build or via a extension to make visual studio 2010 save all unsaved work when I switch focus to another application.

It's a feature that IntelliJ and TextMate do rather well (spot the Java developer learning C#) and it means I've gotten out of the habit of saving changes before I switch to the browser and hit refresh.

Note I'm not expecting real code to just work like this, I'm kinda hoping that changes to views and scripts can be saved on alt+tab

A: 

You can configure an auto-save option that allows you to set a number of minutes and VS saves everytime that number of minutes is hit, its not exactly what you require but is an option you can consider.

To configure this option, go to Tools \ Options and then click on AutoRecover in the Environment section:

alt text

kyndigs
it would work but only if it could handle an interval of a second or so
Gareth Davis
ah.. my colleague informs me that the saved files actually go into a special auto recover area, hence it wouldn't be visible to the Dev web server.
Gareth Davis