Replies: 1 comment
-
Are you building a VS Code extension? You should be able to contribute a keybinding. See these:
Otherwise, you should be able to listen to keyboard input but I'm not sure how 🤔 Let me know if that helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I was trying to simulate Keyboard events like "Ctrl" + "p" (to open files) using javascript and I was unabel to do so. Any ideas on how this can be achieved? Is there function that can be called from document model? or simulation of actual keybaord events?
I tried to retrigger the same event when I humanly clicked those keys (and capture the event) but I get "TypeError: d.hasAttribute is not a function". Is there way out?
I have been trying all the above from console log for now. Thank you for the help :)
Beta Was this translation helpful? Give feedback.
All reactions