Is there a way to "Turn off" solution folders?
We h开发者_Go百科ave a large solution with 86 projects. Everything is divided up into "solution folders". I find it rather difficult to find what I'm looking for. Is there a way to turn off solution folders just for me without affecting anyone else using the solution?
Have you considered navigating to a file by keyboard?
Visual Assist has an "Open file in solution" dialog which very convenient due to instant search. If you don't have VAssist (which you really should) I believe the free DPack has some equivalent.
If you need to perform file-specific operations in the solution tree, you can bind this macro to a key and execute it after opening a file:
DTE.ExecuteCommand("View.TrackActivityinSolutionExplorer")
DTE.ExecuteCommand("View.TrackActivityinSolutionExplorer")
DTE.Windows.Item(Constants.vsWindowKindSolutionExplorer).Activate()
This will track your file in the solution tree and focus on it.
No, there isn't, not directly.
You could probably write a macro that clears them out of the solution file, just for you, however.
精彩评论