-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support group ordering #9153
Comments
@chrisdias What is you see is the implemented behaviour. What is did you expect? |
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 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 |
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. |
make menu item order explicit with 'order' property (default to 0) make group order be the natural string order with exceptions for 'navigation' (always first) and falsy groups (always last)
Groups are now sorted lexically with the exception of |
Steps to Reproduce:
Related to #8756?
The source for the extension is here: https://github.com/chrisdias/vscode-opennewinstance
The text was updated successfully, but these errors were encountered: