Skip to content
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 command to command palette from keybindings #47839

Closed
usernamehw opened this issue Apr 13, 2018 · 3 comments
Closed

Add command to command palette from keybindings #47839

usernamehw opened this issue Apr 13, 2018 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster

Comments

@usernamehw
Copy link
Contributor

It would be nice to be able to do something like this:

{
    "command": "editor.action.insertSnippet",
    "label": "cleanup",
    "args": {
        "snippet": "💄"
    },
}

After that, command palette would have new item with text cleanup. The main goal is to be able to add actions(and using args) in command palette.

@jrieken jrieken added the info-needed Issue requires more information from poster label Apr 17, 2018
@jrieken
Copy link
Member

jrieken commented Apr 17, 2018

Where are you doing this? In keybindings.json?

@usernamehw
Copy link
Contributor Author

Yes.

@jrieken
Copy link
Member

jrieken commented Apr 17, 2018

/duplicate of #9285

@jrieken jrieken closed this as completed Apr 17, 2018
@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Apr 17, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants