What is the shortcut for running java application in mac eclipse

独自空忆成欢 提交于 2019-12-03 15:22:45

问题


I get used to eclipse and know that ctrl+F9 is used for running java application in eclipse in windows. But now I switch to mac, and find that cmd+F9 is used for debug java application, so what is the short cut for running java application ?


回答1:


Notice, if you keyboard has multimedia functions, such as sound level control, brightness level etc etc. Then a lot of shortcuts using the F keys, such as Cmd+Shift+F11 and Cmd+F11 will not fire the application specific shortcut, but rather the system-wide shortcut.

In that case, you will need to press fn as well, to fire the application specific shortcut. So in this case it would be: Fn+Cmd+Shift+F11




回答2:


Find the short for run: Cmd+Shift+F11

And debug : Cmd+F11




回答3:


Command-Option-XJ works for me.

Pressing Command-Option-X will show a list of options on how you want to run your application.




回答4:


To set your custom shortcut open Eclipse -> Settings -> General -> Keys and search for Run. Scroll down a bit, select Run and set your custom binding in the textbox below. Finally click on apply and your ready to run :)




回答5:


Fn+Cmd+shift+F11 for Run

Fn+Cmd+F11 for Debug run



来源:https://stackoverflow.com/questions/6141173/what-is-the-shortcut-for-running-java-application-in-mac-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!