I have been trying to use addEventListener in my own vscode extension. Basically, I want to catch if the user press certain key, say esc, then do something. Can anyone show me a basic working example in extension? Thank you very much!
CodePudding user response:
That's not possible, no. You cannot access the DOM in vscode directly.