问题
I am using netbeans to code java and i was wondering if there is an option to have a program stopped by pressing a shortcut. I can press F6 to execute program, but I have to use mouse to stop program, which I find a little annoying.
many thanks alfred
回答1:
You can use Ctrl+Shift+DEL.
It is defined in Tools > Options > Keymap
as System > Cancel Process
.
回答2:
In Mac: shift+fn+command+delete
来源:https://stackoverflow.com/questions/2375146/shortcut-to-stop-execution-of-program-in-netbeans