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?
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?
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)
您基本上可以使用Ctrl + F2来终止 Eclipse。
Use Ctrl + F2 to terminate the current running server, not eclipse. There is no shortcut key to terminate eclipse.
Try here:
http://www.developersbook.com/eclipse/eclipse-keyboard-shortcuts-2.php
http://eclipse-tools.sourceforge.net/Keyboard_shortcuts_%283.0%29.pdf
Yes you are right. In fact if you check Windows --> Preferences --> Keys --> Terminate, "Terminate and relaunch" , it is showing for server, not eclipse.
I think you are looking for this:
This terminates the running process, even if the hotkey is called "Stop", wich is somewhat confusing, since there is another hotkey called "Terminate".
Regards!
I manage to make it work, binding terminate command to PAUSE key with "when" clause to "In window". It works if in debug, not in run. Hope it helps
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.