Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide Class-View in Solution Explorer

Is there a way to hide the classes-inside-a-file in solution explorer?

It adds to the "noise" there. The drop-down triangles are quite confusing - I want to immediately see what files are hidden (in solution explorer).

like image 748
ispiro Avatar asked Aug 25 '15 19:08

ispiro


People also ask

How do I make Solution Explorer Auto Hide?

AutoHide that does the trick for already docked panels. It is the same as menu:Window->Auto hide all and it autohides all panels in the same stack. Either use standard menu command Alt W A respective Alt W U or give it a shortcut of its own. Auto-hide is nice, yes.

How do I hide files in Solution Explorer?

With the latest Visual Studio you just need to right-click the folder/file and chose "Hide from Solution Explorer".

How do I unhide a solution in Explorer?

Open Solution Explorer If you don't see the Solution Explorer tool window, you can open it from the Visual Studio menu bar by using View > Solution Explorer, or by pressing Ctrl+Alt+L.


2 Answers

Instructions for Visual Studio 2017:

  1. Close Visual Studio 2017
  2. Open Registry Editor (regedit), select HKEY_USERS
  3. File → Load Hive → %localappdata%\Microsoft\VisualStudio\15.0_<id>\privateregistry.bin where <id> is some hexadecimal gibberish. Set Key Name to the one you like e.g. vs2017
  4. Go to HKEY_USERS\vs2017\Software\Microsoft\VisualStudio\15.0_<id>
  5. Create new key UseSolutionNavigatorGraphProvider of DWORD (32-bit) type, value 0
  6. Select HKEY_USERS\vs2017, File → Unload Hive
like image 59
a553 Avatar answered Sep 20 '22 16:09

a553


For VS2017 use Disable Solution Explorer's Dynamic Nodes extension github

like image 26
TURNSKIN Avatar answered Sep 20 '22 16:09

TURNSKIN