VisStudio AddIn to automatically save files

May 25, 2012 by
Filed under: Utilities, VS2012 

A really handy feature in SlickEdit is “Save on loss of focus”.

I have implemented similar behavior in addins for Visual Studio 2010 and Visual Studio 11 (Beta) VS2012.
When Visual Studio loses focus, all modified documents are saved.

Extract the appropriate zip file to your AddIns directory, and use Tools->Add-In Manager  to enable.  There is some output in the Output window when the add-in is loaded, and when files are saved.

CBAddInVS2012

CBAddInVS2010

Please contact me if you have any problems (or suggestions!).

Comments

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!






− 3 = two

  • Upcoming Events

    • No events.
  • Events Calendar

    June  2013
    Mon Tue Wed Thu Fri Sat Sun
       
      1 2
    3 4 5 6 7 8 9
    10 11 12 13 14 15 16
    17 18 19 20 21 22 23
    24 25 26 27 28 29 30
  • wordpress com stats