Does anyone know, in Visual Studio 2019 or later, if there's a way to collapse all text but only at the class level? I have many classes within a single document and I simply want to collapse all of the classes at the very top level of the class so that I can then expand the one class I need to work on. Collapsing everything is way too much and makes more work for me than collapsing the code manually.
For example, if I have 5 classes in my file I'd like to collapse the text down to just 5 lines WITHOUT collapsing anything within the classes so that when I manually expand one of the classes I immediately see all the code (uncollapsed) within that class. At the same time I still need to be able to manually collapse at the code level so I cannot disable the "Show outlining for code level constructs" option.
I know about the following key combinations so please don't waste your time suggesting them as they do not do what I am looking for:
Ctrl + M, Ctrl + O -> this is great and I use it frequently by it isn't perfect which is why I'm asking this quesiton.
Ctrl + M, Ctrl + M -> this is a complete waste and collapses everything selected even code sections such as for loops.
Ctrl + M, Ctrl + L -> this is a complete waste without having to select what you want to collapse, it also collapses everything including code sections and creates more work than it is worth.