2

I can run an application with ⌘F11 or ⇧⌘F11, but how do I stop it from the keyboard?

raym0nd
  • 3,172
  • 7
  • 36
  • 73
Andres Riofrio
  • 9,851
  • 7
  • 40
  • 60
  • I'm having this problem too. My source code is being executed, but the items in the Run menu are all grayed out and none of them is clickable nor their shortcuts are working. I can click the red terminate button in the toolbar with the mouse and that terminates. I'm very much interested in a keyboard shortcut. I guess it has to do with the menu items all being grayed out. – neoneye Dec 27 '14 at 22:44

2 Answers2

2

See the answer from Austin in this question: What is the short cut in eclipse to terminate debugging/running?

The accepted answer in that question only works if you're debugging.

UPDATE:

I checked on this, and at first I couldn't get it to work. It turns out that if you want the terminate command to be available in the Java Editor perspective, you have to go to Window -> Customize Perspective -> Commands and add the Debug command group to the perspective.

Then, go to Window -> Preferences -> Keys, find the Terminate binding, and change "When" to "In Windows".

That worked for me - I was able to start the app with F11 and terminate with CTRL-F2.

Community
  • 1
  • 1
E.Z. Hart
  • 5,717
  • 1
  • 30
  • 24
0

The Terminate command is mapped to ⌘F2 in my workspace.

highlycaffeinated
  • 19,729
  • 9
  • 60
  • 91