You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alternatively, can I create my own group and how would I position that group between the Navigation (top) and the "Find in Folder" section?
That we don't support yet. Today the navigation group comes first and contributions to that group come first as well. Any other group comes at the end, ordering of group is still to be implemented. The idea is that we have a set of groups like navigation, modification etc with a fixed order.
I like the idea of ordering of core menu groups, it keeps the experience consistent even if there are 100s of extensions contributing to the menus.
I realize now that we don't sort the built-in menus, so having the contribution be sorted in that list doesn't make sense either. However, I think I might like to see contributed menus after the built-in menus within a group rather than before. Again, I think this would help make the experience be more consistent regardless of the extensions that are loaded.
Groups are now sorted lexically with the exception of navigation which always comes first. Within groups you can sort by adding a number like so navigation@10 or [email protected]. Legacy commands have the implicit order of zero (navigation@0)
Activity
jrieken commentedon Jul 12, 2016
Chris Dias (@chrisdias) What is you see is the implemented behaviour. What is did you expect?
chrisdias commentedon Jul 12, 2016
Assuming I don't have the ability to control the exact location in the list, I would expect the navigation section of the menu to be sorted:
New File
New Folder
Open in Terminal
Open New Workbench Here
Reveal in Finder
Scope Workbench to Here
Alternatively, can I create my own group and how would I position that group between the Navigation (top) and the "Find in Folder" section?
jrieken commentedon Jul 13, 2016
That we don't support yet. Today the
navigationgroup comes first and contributions to that group come first as well. Any other group comes at the end, ordering of group is still to be implemented. The idea is that we have a set of groups likenavigation,modificationetc with a fixed order.[-]Menu items dont sort properly in navigation group[/-][+]Support group ordering[/+]chrisdias commentedon Jul 14, 2016
I like the idea of ordering of core menu groups, it keeps the experience consistent even if there are 100s of extensions contributing to the menus.
I realize now that we don't sort the built-in menus, so having the contribution be sorted in that list doesn't make sense either. However, I think I might like to see contributed menus after the built-in menus within a group rather than before. Again, I think this would help make the experience be more consistent regardless of the extensions that are loaded.
menu item order, group order, #9153
be a little more explicit about 'navigation' group, #9153
add tests menu service, for #9153
jrieken commentedon Jul 25, 2016
Groups are now sorted lexically with the exception of
navigationwhich always comes first. Within groups you can sort by adding a number like sonavigation@10or[email protected]. Legacy commands have the implicit order of zero (navigation@0)more menu sorting tests, #9153
honor order when merging contributed menu items with legacy items, le…