How to collapse all items in Solution Explorer in Visual Studio with Resharper ?

Today I wanted to find, if Resharper provides a shortcut to ‘Collapse All’ items in the Solution Explorer? A little search on google led to this thread on JetBrain’s Dev Community.

As you can see in the screenshot below, there is an option called Collapse All and a shortcut key next to it.

Now this shortcut key will not work for you ! Unless you set it up using Tools > Options > Keyboard. The command name is CollapseInSolutionExplorerAction. Search using this command name and assign a shortcut key of your choice.

This made my life easier, I hope it does your’s too ;)

Further Reading :

Visual Studio: Is there a way to collapse all items of Solution Explorer?
JetBrain’s : Collapse All shortcut

About Yasser Shaikh

Hello, I am a Web Dev, employed with Media.Net where I primarily work on ASP.NET MVC and Angular JS based developement.

Questions? Enquiries? Comments? Or even just want to say “Hi” to me, you are welcome to all of that. Just drop me a message at “mail@yassershaikh.com” and I’ll get back to you as soon as possible.

Cheers !

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>