-
Notifications
You must be signed in to change notification settings - Fork 498
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
Sort Editor Commands by the -Name parameter. #591
Comments
From @gerane on February 23, 2017 16:46 @daviwil is there any update on your plans for this or similar features like #246 or some of the related things we have spoken about? I hadn't talked to you about it in a while so figured I'd ask to see if any of the newer things you have been working on might impact this. It is getting increasingly harder to use the editor commands I want to use most or use most often. I'd like to be able to force the top 3 or do something that I can have my most used at the top. As I move more and more of my commands into modules, it makes it incredibly hard to control the order of the commands in the menu. They just show up in the order they are imported atm, and if they are being extracted from the vscode profile to modules, this becomes much more difficult to control. |
I'm fixing this on the vscode-powershell side because PSES only sends an event when a new command is added, not a whole list. It'll come out with the next update. |
Fix #591: Sort "editor commands" by their name for menu display
Nice, I can never decide which repo to open issues on 😀 |
Heh, well in this case I didn't know where the fix would be until I started working on it ;) |
From @gerane on June 5, 2016 17:4
I think it makes sense to sort Editor Commands by their
Name
instead of theirDisplayName
. SinceName
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
andDisplayName
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 theDisplayName
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 likeCopied from original issue: PowerShell/PowerShellEditorServices#250
The text was updated successfully, but these errors were encountered: