How can I stop all processes in IntelliJ?(如何停止 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 现在在停止进程"菜单(顶部栏上的按钮)中有一个停止所有"按钮,默认快捷键 ⌘+F2 在 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 ⌘+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 中的所有进程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何停止 IntelliJ 中的所有进程?


基础教程推荐
- 验证是否调用了所有 getter 方法 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 从 python 访问 JVM 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 多个组件的复杂布局 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01