You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
@alexandrudima Instead of [{}], I now get [null], which I argue is still not ideal. But I've documented it in the Release Notes anyway. I'm too scared to change it to something else. 😆
joaomoreno
added a commit
to microsoft/vscode-docs
that referenced
this issue
Jun 1, 2018
Steps to Reproduce:
(create an extension)
{}
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.The text was updated successfully, but these errors were encountered: