For those looking for ideas for the VS-Add-inn contest
Don't know if VS add-ins would allow you to do this but I'd really like to see a add-inn that would do this. Each time you write:
ObjectThatIsIDisposable o = new ObjectThatIsIDisposable();
it would wrap it up in a using clause, rewriting it, so it would look like:
using (ObjectThatIsIDisposable o = new ObjectThatIsIDisposable())
{
<And place the cursor here>
}
I just love the using synthetic sugar !
Also, I'd really like to see a add-in that would allow me close all files currently open in VS, without closing the solution.