|
607 | 607 | <add-to-group group-id="EditorPopupMenu" anchor="first"/> |
608 | 608 | </group> |
609 | 609 |
|
610 | | - <action id="leetcode.sortBySolutionAction" class="com.shuzijun.leetcode.plugin.actions.tree.SortBySolutionAction" |
611 | | - text="Sort By Solution" description="Sort by solution"/> |
612 | | - |
613 | | - <action id="leetcode.sortByIdAction" class="com.shuzijun.leetcode.plugin.actions.tree.SortByIdAction" |
614 | | - text="Sort By Id" description="Sort by id"/> |
615 | | - |
616 | | - <action id="leetcode.sortByNameAction" class="com.shuzijun.leetcode.plugin.actions.tree.SortByNameAction" |
617 | | - text="Sort By Name" description="Sort by name"/> |
618 | | - |
619 | | - <action id="leetcode.sortByPassingRateAction" class="com.shuzijun.leetcode.plugin.actions.tree.SortByPassRateAction" |
620 | | - text="Sort By Passing Rate" description="Sort by passing rate"/> |
621 | | - |
622 | | - <action id="leetcode.sortByOccurrenceFrequencyAction" class="com.shuzijun.leetcode.plugin.actions.tree.SortByOccurrenceFrequencyAction" |
623 | | - text="Sort By Frequency" description="Sort by frequency"/> |
624 | | - |
625 | | - <action id="leetcode.sortByDifficultyAction" class="com.shuzijun.leetcode.plugin.actions.tree.SortByDifficultyAction" |
626 | | - text="Sort By Difficulty" description="Sort by difficulty"/> |
627 | | - |
628 | | - |
629 | | - <group id="leetcode.editor.tree.menu"> |
630 | | - <reference id="leetcode.sortByIdAction"/> |
631 | | - <reference id="leetcode.sortByNameAction"/> |
632 | | - <reference id="leetcode.sortBySolutionAction"/> |
633 | | - <reference id="leetcode.sortByPassingRateAction"/> |
634 | | - <reference id="leetcode.sortByDifficultyAction"/> |
635 | | - <reference id="leetcode.sortByOccurrenceFrequencyAction"/> |
| 610 | + <group id = "leetcode.editor.tree.menu" popup="true"> |
| 611 | + <group id="leetcode.editor.sort.menu" popup="true" text="Sort" class="com.shuzijun.leetcode.plugin.actions.tree.SortActionGroup"> |
| 612 | + <add-to-group group-id="EditorPopupMenu" anchor="first"/> |
| 613 | + <action id="leetcode.sortBySolutionAction" |
| 614 | + class="com.shuzijun.leetcode.plugin.actions.tree.SortBySolutionAction" |
| 615 | + text="Sort By Solution" description="Sort by solution"/> |
| 616 | + |
| 617 | + <action id="leetcode.sortByIdAction" class="com.shuzijun.leetcode.plugin.actions.tree.SortByIdAction" |
| 618 | + text="Sort By Id" description="Sort by id"/> |
| 619 | + |
| 620 | + <action id="leetcode.sortByNameAction" class="com.shuzijun.leetcode.plugin.actions.tree.SortByNameAction" |
| 621 | + text="Sort By Name" description="Sort by name"/> |
| 622 | + |
| 623 | + <action id="leetcode.sortByPassingRateAction" |
| 624 | + class="com.shuzijun.leetcode.plugin.actions.tree.SortByPassRateAction" |
| 625 | + text="Sort By Passing Rate" description="Sort by passing rate"/> |
| 626 | + |
| 627 | + <action id="leetcode.sortByOccurrenceFrequencyAction" |
| 628 | + class="com.shuzijun.leetcode.plugin.actions.tree.SortByOccurrenceFrequencyAction" |
| 629 | + text="Sort By Frequency" description="Sort by frequency"/> |
| 630 | + |
| 631 | + <action id="leetcode.sortByDifficultyAction" |
| 632 | + class="com.shuzijun.leetcode.plugin.actions.tree.SortByDifficultyAction" |
| 633 | + text="Sort By Difficulty" description="Sort by difficulty"/> |
| 634 | + </group> |
636 | 635 | </group> |
| 636 | + |
637 | 637 | </actions> |
638 | 638 |
|
639 | 639 |
|
|
0 commit comments