So, obviously, there are arguments for commands and registering a command like
vscode.commands.registerCommand("bla", (arg1: any, arg2: any) => {});
brings a arg1strange object containing only one key, and context; an object containing some information about - you guessed it - context.
The user also cannot specify arguments. Not through the command palette, not for key bindings.
That is, these arguments are only for internal things or should they be used by the extension developer?
source
share