I have Visual Studio 2010 setup to remove and sort settings on save with the Power Commands extensions. This is great, but sometimes it removes the using System.Linq at the top. I also find myself scrolling to the top to add the using when I first add System.Linq. So I wrote a quick macro to do it for me. Sub AddUsingLinq() DTE.ActiveDocument.Selectio... DTE.ActiveDocument.Selectio... DTE.ActiveDocument.Selectio... = ......