So obviously there are arguments for commands and registering a command like
vscode.commands.registerCommand("bla", (arg1: any, arg2: any) => {});
brings arg1 with a strange object containing only one key and that's context; an object holding some information about - you guessed it - the context.
There is also no way for the user to specify arguments. Not through the command palette and not for keybindings.
So are those arguments only for internal stuff or are they supposed to be used by an extension developer?
copy to registercommand the user is asked to which register the text should be copied. But when using the keyboard it would be handy to use key cords and then directly specify a registers by key (a, b, c, etc.). To achieve this I currently have to create multiple commands alácopyToReg1and then the number of registers a user can have is technically bound to the number of commands, that I create. Wouldn't it be nice to just pass the register as a string parameter specified in thekeyboard.json?