Showing posts with label Visual Studio 2015. Show all posts
Showing posts with label Visual Studio 2015. Show all posts
Tuesday, July 26, 2016
Collapse all functions in Visual Studio 2015
Hold down CTRL, and press M and then O. In the code view, all functions will collapse.
Friday, March 25, 2016
Visual Studio Solution Explorer Collapse All
When dealing with complex visual studio solutions with many projects, the solution explorer can become a mess of opened folders and files. Solution Explorer remembers which folders you have opened, so if you're like me, you never go back and close the folders once you're done. You just want to collapse the entire tree structure occasionally. By default, you can collapse the current node of a tree by pressing the - sign on the number keypad. But this only collapses the current node, and does not recursively close every sub folder.
This command does exist in Visual Studio, but it is not in the menu at least in the 2015 version that I have. To use it, you have to assign a keyboard shortcut to it by going to the Tools menu and selecting Options, and then Keyboard like so:
Here I've set up a shortcut, so if I hold down CTRL while pressing CO, it will recursively collapse the current node in Solution Explorer.
UPDATE: Don't use CTRL C as a starting sequence for your chord. This will mess up the old standard CTRL C for Copy. I ended up using CTRL O.
This command does exist in Visual Studio, but it is not in the menu at least in the 2015 version that I have. To use it, you have to assign a keyboard shortcut to it by going to the Tools menu and selecting Options, and then Keyboard like so:
Here I've set up a shortcut, so if I hold down CTRL while pressing CO, it will recursively collapse the current node in Solution Explorer.
UPDATE: Don't use CTRL C as a starting sequence for your chord. This will mess up the old standard CTRL C for Copy. I ended up using CTRL O.
Monday, February 1, 2016
Favorite Visual Studio Options
I recently upgraded to Visual Studio 2015, and had to set it up to my liking. Since I only upgrade about every 2 years or so, I always forget where these settings are. So, today, I'm going to make a note of these settings:
Subscribe to:
Posts (Atom)