如何停止IntelliJ中的所有进程? [英] How can I stop all processes in IntelliJ?
问题描述
我正在使用intelliJ IDEA。
I am using intelliJ IDEA.
当我运行程序并关闭窗口时,该过程仍然存在。如果我运行了很多程序,我需要多次点击断开连接。
When I run my programs and close the window, the process still remains. If I run a lot of programs, I need to click disconnect many times.
有没有办法停止所有进程?
Is there any way to stop all processes?
Eclipse没有这个问题。
Eclipse doesn't have this problem.
推荐答案
IntelliJ 2017.2现在在停止过程菜单(顶部栏上的按钮)中有一个全部停止按钮, OSX上的默认快捷键⌘ + F2 :
IntelliJ 2017.2 now has a "Stop All" button in the "Stop process" menu (the button on the top bar), with the default shortcut ⌘+F2 on OSX:
对于旧版本:
-
单击顶部栏中的停止按钮。它将弹出一个列出所有进程的菜单。 (调试窗口侧面的停止按钮是按进程进行的,如截图所示。)
Click the Stop button from the top bar. It will pop open a menu listing all processes. (The stop button at the side of the debug window is per-process, as in your screenshot.)
将鼠标悬停在第一个进程上,按住按Shift ,然后点击最后一个流程。
Hover over the first process, hold Shift, and then click on the last process.
按 Enter 。
屏幕截图显示了步骤1& 2:
Screenshot showing the result of steps 1 & 2:
这篇关于如何停止IntelliJ中的所有进程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!