Lately I’ve been speaking at local user groups about many of the exciting new features in Visual Studio 2012. Since there is so much to know and learn about VS 2012, I decided to create a collection of blog posts with many of the tips. This collection of posts will include features that are new to VS 2012 as well as some existing features as well. To view all of the VS 2012 tips posted so far, click here.

This features, as well as a lot of the cool features of VS 2012’s Solution Explorer, was carried forward from a tool called the Solution Navigator that was available as an add-on in VS 2010 as part of the VS Productivity Power Tools download. It was a good feature then but it is even better now.

image

You can see the Solution Explorer in the screenshot showing the Controllers folder and the two source files it contains: AccountController.cs and HomeController.cs. But note the icon that indicates you can drill down further.

 

image

Now you can see that the Solution Explorer is capable of displaying quite a bit more information. You can see all of the class level variables (a private field named _foo and a public property named Foo) as well as a bunch of methods. You can also see the details of two nested classes. Of course, clicking on any of the items will bring up the file location on the code editor. These details can be combined with other features within the Solution Navigator. If you want to see how to search through the class level details, please check out my blog post on that topic. If you want, you can also change the scope of Solution Explorer down to these class level details. For details, please read my post on that topic as well.

 

 

 

 

 

 

 

 

 

I hope you find this tip helpful. To see more VS 2012 Tips, just click here.

2 thoughts on “Visual Studio 2012 Tip: View Class Members in Solution Explorer

  1. Pingback: Interesting .NET Links – January 24 , 2013 | TechBlog

  2. Pingback: Dew Drop – January 24, 2013 (#1,486) | Alvin Ashcraft's Morning Dew

Leave a reply

required

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>