Add "Collapse to Definition" feature to ASP.NET source view
I would like "Collapse to Definition" feature added to ASP.NET source view in the next release of Visual Studio (Preferably, Visual Studio 11).
Thanks for granting this request and making it available in the release of Visual Studio 11.
This is something we are looking into. However ,the HTML editor is structured very differently than the C# editor, so it’s not something we can just implement. But we are working on possible solutions.
Thanks for the feedback
Jakub Míšek commented
Would it be possible to create VS extension, that would handle CollapseToDef command (Ctrl+M,O by default), and execute StartAutohiding command instead? It seams CollapseToDef cannot be handled in any command chain :-/