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

Add a hotkey for PowerShell.ShowAdditionalCommands #196

Closed
daviwil opened this Issue May 22, 2016 · 5 comments

Comments

Projects
None yet
4 participants
@daviwil
Copy link
Collaborator

daviwil commented May 22, 2016

It'd be useful to have a hotkey for the "PowerShell: Show additional commands from PowerShell modules" command which is the entry point for the editor command menu.

FEEDBACK NEEDED: Any suggestions for a good hotkey?

/cc @gerane

@daviwil daviwil added this to the 0.6.2 milestone May 22, 2016

@gerane

This comment has been minimized.

Copy link

gerane commented May 22, 2016

I am writing a blog post right now about the new features in the Extension, and one of my recommendations is to set a Key Binding for this. It actually makes using the editor commands a real pleasure. I went ahead and added instructions to update the keybindings and what to add, but mentioned that my guess was that this would eventually be handled by the Powershell Extension itself.

The PowerShell.ShowAdditionalCommands is available for a hotkey, but just doesn't have one set by default.

There is also an issue with instructing people to use "addi" to launch the commands. If you install an extension with conflicting command names, typing "addi" is not enough, which becomes confusing. The Go extension is a good example, when typing "addi", it is option 1.

@dfinke

This comment has been minimized.

Copy link
Contributor

dfinke commented May 22, 2016

Searching for ShowAdditionalCommands can also be a "fuzzy" search. I use ps a. I believe David is working to implement the custom commands at the root menu, and with shortcut keys.

@daviwil

This comment has been minimized.

Copy link
Collaborator

daviwil commented May 22, 2016

Yep, I am going to make that happen at some point. In the meantime it'd be faster if there was a hotkey like Ctrl+Shift+P that brings you to the PowerShell-based command menu, would be faster than using the fuzzy search.

@gerane

This comment has been minimized.

Copy link

gerane commented May 23, 2016

Well, don't set any KeyBinding that uses ctrl+shift+alt, it will break multiline select. I am trying out alt+p atm.

@daviwil daviwil modified the milestones: 0.7.0, 0.6.2, Backlog Aug 12, 2016

@TylerLeonhardt

This comment has been minimized.

Copy link
Collaborator

TylerLeonhardt commented Feb 2, 2018

This is a simple change to https://github.com/PowerShell/vscode-powershell/blob/master/package.json#L61

just need to find a good keybinding.

I'll make it up-for-grabs since it's a good "1st time contributor" issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment