I suggest you ...

Collapse to definitions on XAML with CTRL+M+O like happen on C# code.

This suggestion is migrated to Developer Community. Please use below link to view the current status.
https://developercommunity.visualstudio.com/content/idea/351382/collapse-to-definitions-on-xaml-with-ctrlmo-like-h.html
To collapse nodes in XAML we have to do CTRL+M+M or use the mouse to collapsed eash node.
Will be nice to have a shortcut like in the C# editor that collapse all the nodes.

37 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Paulo Aboim Pinto shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

2 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...
  • Paul Robert Cotter commented  ·   ·  Flag as inappropriate

    Unfortunately (for me anyway) the way Ctrl-M Ctrl-O works has changed in the code editor between 2015 and 2017. It used to collapse down to regions if they were there. Now it doesn't. I would dearly like an edit.CollapseToRegions. Ctr+M+R would suit me.

  • Radek Surowka commented  ·   ·  Flag as inappropriate

    You can always use CTRL+A, then CTRL+M+M, but feature to use CTRL+M+O would be much more intuitive for me as well.

Feedback and Knowledge Base