Visual Studio 2012 Tip- Closed All But Pinned feature

Visual studio 2012 is one of best IDE I have ever used. Everyday I am discovering something new with that IDE which is more productive. Today I have discovered “Closed All But Pinned” feature. I thought It’s a good idea to write a quick tip post.

Problem with Earlier Version:

Earlier we used to have “Close All But This” feature from Visual Studio 2008 which will close all the files except the that file. But what we should do If we need to have more than one file opened. There was not way for it in Visual Studio 2008.

So if we have requirement like above situation where we need to kept open more than one file. This features comes quite handy. You just have to pin files that you want it to be opened.

PinnedFile in Visual Studio 2012

Then you need to right click any of this files and click ‘Closed All But Pinned’.


There you go!!. It will close all other files except pinned files.

AfterClickPinned Visual Studio 2012

Note: You can also have this feature in Visual Studio 2010. You need to install Power productivity tools. That’s it. Hope you like it. Stay tuned for more updates.