How do I get eclipse to terminate? I use the keyboard shortcut Ctrl+F11 to run a program and I cannot enable the terminate hotkey, since in development I run the program 100s of times per day I waste a lot of time clicking the red terminate square.
I have looked at previous postings of this question and have gone to Windows --> Preferences --> General --> Keys and found "Terminate" command: I have set it to binding Shift+Ctrl+F11 and set the "When" setting to "In Windows". I have tried various other options but the shortcut never works. Why?
For newer versions of Eclipse: open the Debug perspective (Window > Open Perspective > Debug) select process in Devices list (bottom right) Hit Stop button (top right of Devices pane)
Open project, file, etc. Ctrl+Shift+R. Open Resource (file, folder or project) Alt+Enter. Show and access file properties.
Ctrl + D. Deletes current line in the editor. Command + Shift + O. Ctrl + Shift + O. Organize imports in the current java file.
To quickly force quit on Windows , use the keyboard shortcut Alt + F4. Make sure the app or program window is open when you click Alt + F4.
Since CTRL + F2 does not work unless you have:
The best that I can come up with is to use the "Keys" preferences to assign CTRL + SHIFT + F2 to "Show View Debug", then you can type the following:
CTRL + SHIFT + F2 (activates the debug view) DOWN (move cursor down onto the first process) CTRL + F2 (Terminate) F12 (activate editing window)
You can basically use Ctrl+F2 to terminate Eclipse.
Addendum: Unfortunately there is no keyboard shortcut for the Terminate/Disconnect All option mentioned below and you cannot manually set one. But at the very least, you should be able to terminate all launches with just one mouse click with the instructions below. I would consider this a solution to a significant part of your problem, which is wasting a lot of time clicking the red Terminate square.
To terminate all launches:
First Time Setup:
Following which, how to terminate all launches:
Tips:
Thanks to this SO Q&A, but it wasn't fully clear: Eclipse : How to terminate all applications at once?
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