mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
The MEF block of the View menu used MenuOrder = 100/101 for Back/ Forward but no MenuOrder on Sort assembly list / Collapse all tree nodes, so the latter two implicitly defaulted to 0 and ended up appearing before Back/Forward despite their numerically larger explicit order. The intent reads better the other way around: Back/Forward are high-frequency keyboard-driven actions (Alt+Left/ Right) and belong adjacent to the show-radios block, while Sort and Collapse are tree-operation bulk actions that belong further down. Use the same non-overlapping MenuOrder ranges that File now follows: Navigation: 0 .. 9 (Back, Forward) Tree: 10 .. 19 (Sort, Collapse) Options: 999 (Options) Sort and Collapse moved from MenuCategory = "View" to "Tree" because the category identifier should describe the operand -- both act on the assembly tree, neither is a generic "view" action. Assisted-by: Claude:claude-opus-4-7:Claude Codepull/3755/head
2 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue