ArturoDent / command-alias

A vscode extension that can create multiple aliases for any command.
MIT License
3 stars 3 forks source link

Feature request: add support of `args` in "command aliases", like in key bindings #4

Open leira opened 2 years ago

leira commented 2 years ago

Keybindings can take an args field along with the command field. It will be great to support args field for the aliases too. It will add more layers of expressiveness.

The configuration probably needs some change:

"command-aliases": [
  {
    "name": "touch",
    "command": "explorer.newFile",
  },
  {
    "name": "file menu",
    "command": "dance.openMenu",
    "args": { "input": "file-explorer" },
  },
]
leira commented 2 years ago

It is even better if when can be supported too.