Austin
Austin

Reputation: 197

Auto collapse to definitions visual studio 2012

I have been looking high and low for a way to auto collapse to definitions in visual studio 2012 when you open a file.

I found a solution for VS2010 here Any way to auto collapse to definitions whenever you close a document? but that requires a Macros which has been taken out in VS2012.

Any Solution would be much appreciated!

Upvotes: 8

Views: 644

Answers (1)

Walt Ritscher
Walt Ritscher

Reputation: 7037

Yes, macros are definitely gone from Visual Studio 2012.

Not exactly what you requested, but the Ctrl-M, Ctrl-O keyboard shortcut is fast.

Third party tools like CodeRush! or Resharper may help here. I know that CodeRush is very customizable.

You can also create your own Visual Studio Extension. Extensions are more powerful than macros, but have a bit of a learning curve.

Upvotes: 3

Related Questions