-
I would like to run some code when the enter and spacebar keys are pressed on the focused editor.
|
Beta Was this translation helpful? Give feedback.
Answered by
Ghevi
Sep 7, 2023
Replies: 1 comment
-
well i ended up checking in |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hediet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
well i ended up checking in
onDidChangeModelContent
for the changesif (change.text == " " && change.text == "\n")