I use VS Code with the Extension Pack for Java.
When I am in a Java project I have a RUN button at the top right of the window:

I could not find a keyboard short cut or an entry in the "Show All Commands" list for it.
Is there a way to activate this Java RUN button with a keyboard shortcut? (I'm happy to set up my own shortcut if needed.)
Follow the steps below to set shortcut keys:
Click the gear icon in the lower left corner of the interface
Select Keyboard Shortcuts (Ctrl + K + S)

Search run java

Double click Run Java
Press the shortcut key you want to bind

Now you can run Java programs using the shortcut keys you just bound.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With