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 immedi
For VS2017 use Disable Solution Explorer's Dynamic Nodes
extension github
If you install the extension VSCommands, you have a setting to disable this. http://vscommands.squaredinfinity.com/
Go to Tools -> Options -> VSCommands 12 and press the "Open Configuration" button.
Now the configuration screen of VSCommands will open. Go to "Solution Explorer" under "IDE Enhancements". Now check the checkbox "Disable Graph provider" and restart Visual Studio.
Now the classes inside a file should not be visible anymore in the Solution Explorer.
For VS2019 it's the same registry hack
Computer\HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\16.0_<id>
Add new DWORD UseSolutionNavigatorGraphProvider
set to 0
info from this link
Still some people never use the Solution Explorer to navigate the code symbols and methods. In this case expansion arrows on code files only create distraction in the Solution Explorer window. There is no option to control the availability of file expansion, but there is the UseSolutionNavigatorGraphProvider dword registry value (discovered by Julien Lebosquain) that you can set to 0 to disable class view in Solution Explorer. The registry key for this value is HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0 for Visual Studio 2012 and HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0 for Visual Studio 2013 correspondingly:
it's makes sense for you?
or in VS Command prompt:
vsregedit set "%VSINSTALLDIR%/" HKCU "" UseSolutionNavigatorGraphProvider dword 0
Use registry editor to set UseSolutionNavigatorGraphProvider value in HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0 to 0. Or save the following lines into a file called "patchsolutionexplorer.reg" or something like this and import it into the registry:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0]
"UseSolutionNavigatorGraphProvider"=dword:00000000