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 doesn't have this problem.
Show running processesFrom the main menu, select Run | Show Running List. In the top-right corner of the editor, IntelliJ IDEA shows a list with all active applications.
From the main menu, select File | Manage IDE Settings | Restore Default Settings. Alternatively, press Shift twice and type Restore default settings . Click Restore and Restart.
From the main menu, select Help | Change Memory Settings. Set the necessary amount of memory that you want to allocate and click Save and Restart.
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:
For older versions:
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 Shift, and then click on the last process.
Press Enter.
Screenshot showing the result of steps 1 & 2:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With