问题描述
我正在使用 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 上:
IntelliJ 2017.2 now has a "Stop All" button in the "Stop process" menu (the button on the top bar), with the default shortcut + 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.)
将鼠标悬停在第一个进程上,按住,然后单击最后一个进程.
Hover over the first process, hold , and then click on the last process.
按 .
显示步骤 1 和步骤结果的屏幕截图2:
Screenshot showing the result of steps 1 & 2:
这篇关于如何停止 IntelliJ 中的所有进程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!