mac eclipse中运行java应用程序的快捷方式是什么
我习惯了eclipse并且知道ctrl+F9用于在windows中的eclipse中运行java应用程序。但是现在我切换到mac,发现cmd+F9用于调试java应用程序,那么运行java应用程序的快捷方式是什么?
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 ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
注意,如果你的键盘有多媒体功能,比如音量控制、亮度控制等,那么F键就有很多快捷键,比如Cmd+Shift+ F11 和 Cmd+F11 将不会触发应用程序特定的快捷方式,而是触发系统范围的快捷方式。
在这种情况下,您还需要按 fn 来触发应用程序特定的快捷方式。所以在这种情况下它将是:Fn+Cmd+Shift+F11
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
找到运行的缩写:Cmd+Shift+F11
并调试:Cmd+F11
Find the short for run: Cmd+Shift+F11
And debug : Cmd+F11
命令-选项-XJ对我有用。
按 Command-Option-X 将显示有关如何运行应用程序的选项列表。
Command-Option-XJ works for me.
Pressing Command-Option-X will show a list of options on how you want to run your application.
要设置自定义快捷方式,请打开 Eclipse -> 设置 -> 一般 -> 键并搜索
运行
。向下滚动一点,选择运行
并在下面的文本框中设置自定义绑定。最后点击“应用”即可运行:)To set your custom shortcut open Eclipse -> Settings -> General -> Keys and search for
Run
. Scroll down a bit, selectRun
and set your custom binding in the textbox below. Finally click on apply and your ready to run :)Fn+Cmd+shift+F11 用于运行
Fn+Cmd +F11 用于调试运行
Fn+Cmd+shift+F11 for Run
Fn+Cmd+F11 for Debug run