Java 在netbeans中停止程序执行的快捷方式

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2375146/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-13 06:41:39  来源:igfitidea点击:

Shortcut to stop execution of program in netbeans

javanetbeansshortcutexecution

提问by Alfred

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 F6to execute program, but I have to use mouse to stop program, which I find a little annoying.

我正在使用 netbeans 来编写 java 代码,我想知道是否有一个选项可以通过按快捷方式来停止程序。我可以按F6执行程序,但我必须使用鼠标来停止程序,我觉得这有点烦人。

many thanks alfred

非常感谢阿尔弗雷德

采纳答案by Peter Lang

You can use Ctrl+Shift+DEL.

您可以使用Ctrl+ Shift+ DEL

It is defined in Tools > Options > Keymapas System > Cancel Process.

它被定义Tools > Options > KeymapSystem > Cancel Process

回答by wannik

In Mac: shift+fn+command+delete

在 Mac 中:shift+ fn+ command+delete