开发者

Stopping a running application in Eclipse from the keyboard?

开发者 https://www.devze.com 2023-03-24 21:09 出处:网络
I can run an application with ⌘F11 o开发者_Python百科r ⇧⌘F11, but how do I stop it from the keyboard?See the answer from Austin in this question: What is the short cut in eclipse to terminate debug

I can run an application with ⌘F11 o开发者_Python百科r ⇧⌘F11, but how do I stop it from the keyboard?


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消