Description
I think it makes sense to sort Editor Commands by their Name
instead of their DisplayName
. Since Name
includes a Prefix for the module name or similar, it will group all commands with the same prefix together.
Since this might also change what a user sees, I think showing both Name
and DisplayName
would be beneficial. I am unsure of what Code gives you access to in the command palette lists, but the PromptForChoice options have the option of displaying a slightly dimmed Message to the right of the Choice. Here is an example from Plaster.
One option that I like, would be to display the Name
on the left, and then the DisplayName
dimmed on the right in the Editor Command list. Though, this may change if you change around where Editor Commands are listed. I know normal command at the Extension label have the far right area for keybindings, so unsure if they have the option to have a dim description. You could also do something like
MyModule.MyCommand - Does really cool stuff
MyModule.DoesAwesome - Does Awesome stuff
MyModule.DoesSuper - Does Super stuff
YourModule.YourCommand - Does some other Module's stuff