Solution Explorer gets new features in VS 2011

The more I play with VS 2011 (in Dev Preview, don’t hold me if things in future versions don’t have what I’ve mentioned below), the more interesting I find it. Productivity Power Tools is a VS plugin which has some interesting features (blogged here) and one of them was the Solution Navigator. A good number of the features from Solution Navigator have been incorporated in the good ol’ Solution Explorer now.

Below is what my console application looks like in the Solution Explorer.

image

Not just the files in the project, you can also see the properties and methods declared in a file. Double-click on a method and it’ll open the file (if not open yet) and take you directly to that method declaration.

You can search for a particular file/type in the search bar provided above.

image

If you want to get back to the previous view, you can click either click on the back arrow on the top. The forward and back navigation keys remember your previous actions. So you can click on the back button to go back to the full view and then return to this one by clicking on the forward arrow… cool!

You can collapse all projects if you have a bunch of projects in a solution, by clicking the up arrow button.

One of the things that did not exist in Solution Navigator was the concept called ‘Promote’ (at least that’s what I call it). Click on the icon that appears on the right side of the selected item and you’ll get a popup menu like below:

image

Clicking on ‘Contains’ shows all the types declared in that file. If you of click (just click, not double- or right-click) on any of the listed types, a tab opens up.

image

Have a look at the ‘Promote’ icon on the tab (now you know why I called this the ‘Promote’ feature), clicking it will ‘promote’ this to an actual tab and shift it to the left along with other open tabs. Hmm.. interesting.

There is one thing that I think is a ‘nice to have’ feature. Just as we can ‘open-up’ a file and see the types declared in it, we should be able to do so even on referenced assemblies in the project. So we could just expand the System assembly and see what classes are declared in it right-away. May be the VS team is already working on it.

Verdict: Though still in Dev Preview, VS 2011 and .net 4.5 are already making news!

Published Sunday, September 25, 2011 9:15 PM by nmarun

Comments

# re: Solution Explorer gets new features in VS 2011

Sunday, September 25, 2011 12:49 PM by Jwalant Natvarlal Soneji

Nice changes!

Can we also get some features to handle solutions with many projects in it? Like > 100?

One of the feature required is "collapse solution". Its available as a plug-in, but its bugy.

Thanks!

# re: Solution Explorer gets new features in VS 2011

Sunday, September 25, 2011 5:33 PM by Keith Badeau

I'm surprised that Microsoft is already moving forward with another version of Visual Studio.  VS 2010 is quite an inovation as compared to the previous ten years--where VS 7.0 through VS 2008 weren't much different from one another.  

I figured that it would have been at least two years before another version, let alone another innovation, of Visual Studio was released (or previewed).

I thought they would've released VS 2010 R2 or something similar.  I'm not complaining in any way and I like innovations from Microsoft (they are not as rare today as in the past).

I run Visual Studio 2010 Ultimate and so far I've used the equivalent of 2010 Professional, meaning that I haven't used the test features or anything that comes with Ultimate over Professional.  

But I still love it--the look and feel.  Everything except a few minor quirks which really don't interfere in my development process so I don't mind at all.

If I could afford to buy the new versions right away I would.  As it stands, I'm lucky I was able to grab a $6,000 development environment in 2010.  

We'll just wait and see.  As for me personally, I wouldn't use any other development environment than Visual Studio.  Unless of course I'm using it alongside of VS, which I do quite often (use 3rd party apps in conjunction).

Thanks for the great review by the way as I put my five dollar and two cents worth in. ;)

# Solution Explorer gets new features in VS 2011

Sunday, September 25, 2011 7:20 PM by Solution Explorer gets new features in VS 2011

Pingback from  Solution Explorer gets new features in VS 2011

# Solution Explorer gets new features in VS 2011

Sunday, September 25, 2011 7:20 PM by Solution Explorer gets new features in VS 2011

Pingback from  Solution Explorer gets new features in VS 2011

# Solution Explorer gets new features in VS 2011 | .NET, ASP.NET, C# | Syngu

Pingback from  Solution Explorer gets new features in VS 2011 | .NET, ASP.NET, C# | Syngu

# Interesting .NET Links - September 27 , 2011 | Tech Blog

Tuesday, September 27, 2011 12:28 AM by Interesting .NET Links - September 27 , 2011 | Tech Blog

Pingback from  Interesting .NET Links - September 27 , 2011 | Tech Blog

# re: Solution Explorer gets new features in VS 2011

Saturday, April 21, 2012 11:49 AM by ERicpoon

Goooood, but this was appeared in Eclipse very long ago. ^_^

But the "go back" function is also very cool!

# re: Solution Explorer gets new features in VS 2011

Thursday, May 03, 2012 3:14 PM by Le Chaud Lapin

Keith Badeau wrote:

"Everything except a few minor quirks which really don't interfere in my development process so I don't mind at all."

You must be an alien. There are tens of thousands of senior software engineers across the Internet who are out of their mind livid because VS2010 is one of the most ill-planned, buggy, slow, bloated, unreliable products that Microsoft has ever produced. I started uninstalling it by hand yesterday at 8:30 P.M. after it ruined my VS2008 installation. It is 2:15 P.M. the next day, and after a nap, looks like I have finally got control of my development machine, although it did leave behind a few VS2010 turds that I am too afraid to delete because of what I read by other posters elsewhere.

Given that the trend toward sub-par product is likely to continue with Visual Studio, VS2008 is probably the last version of Visual Studio that I will ever used. I would not install VS2011 on my computer if Microsoft offered me a perpetual free license.

Leave a Comment

(required) 
(required) 
(optional)
(required)