- VSCode Version: Code 1.19.3 (7c4205b, 2018-01-25T10:25:01.248Z)
- OS Version: Darwin x64 17.4.0
- Extensions:
Steps to Reproduce:
(create an extension)
- Create a VS Code command
- Register a command handler for the command
- Invoke the command from a command palette, and nothing is passed into the command handler. When invoked from a file or tree context menu then the file uri is passed.
- Add a keyboard shortcut to the above command
- However if the command is invoked via a keyboard shortcut, then an empty
{} object is passed into the command handler.
Is this by design, to pass an empty object into the command handler when commands are invoked via the keyboard shortcuts.
Steps to Reproduce:
(create an extension)
{}object is passed into the command handler.Is this by design, to pass an
empty objectinto the command handler when commands are invoked via the keyboard shortcuts.