title: C# for writing macros in Visual Studio?
body: <p>I started C# a while ago and really like it.</p>
  
  <p>I work with VS 2008 and really like it.</p>
  
  <p>I tried Resharper and loved it.</p>
  
  <p>Now I am starting with Macros in VS2008 to increase my coding speed a little more. And stumble upon <strong>visual basic</strong>. And I <strong>do not like that</strong>.</p>
  
  <p>Is there any way to write macros in C#. Or a workaround, in writing a plugin for VS to reach the same goal. Just let me stress out, its a productivity issue. I just want to automate some features I use often (create macro, assign shortcut, tell my touchscreen-app to send this shortcut)...</p>
  
  <p>So from an experts point of view, is there an easy way to e.g. "collapse all items in the solution explorer, but expand all starting with the letter A" (just a silly example) without using visual basic?</p>
  
  <p>Thanks for any tips,
  Chris</p>
  
  <p>PS: I was nearly happy with recording and playback. But, as it turns out, some "external" resharper command (like collapse all) do not play well with macros (getting strange com errors). So I thought, hey, a loop to collapse all items, I can do that. But unfortunately not really quick in VB :-)</p>