I ran my code using the shortcut keys and I ran for the first time. Then I wanted to run the code again, so I pressed the keys again to run but it doesn't run. Rather it types whatever keys I'm pressing. It does run the code by pressing the run button provided by code runner. Can someone please tell me what to do to run code using the keys only, without needing to use my mouse to click the run button?
Asked
Active
Viewed 199 times
0
-
what is the `when` clause of the used key-binding – rioV8 Feb 11 '22 at 09:14
-
i havent added the when command..can you please me what should i put in it? I've just started using vs code. – Avni Aggarwal Feb 11 '22 at 09:25
-
if you tell us where you see the `keys I'm pressing`, and what is the key binding combo – rioV8 Feb 11 '22 at 10:31
-
I've set alt+n for run code – Avni Aggarwal Feb 11 '22 at 11:21
-
and where do you see `Alt+n` when you press the key-binding, have you tried the key-binding debugging to see what VSC does with the key press – rioV8 Feb 11 '22 at 11:36
-
when i press the keys for assigned to debugging , it isn't debugging properly – Avni Aggarwal Feb 12 '22 at 08:18
-
you say: `Rather it types whatever keys im pressing.` Where do you see this? – rioV8 Feb 12 '22 at 11:12