eclipse 在mac eclipse中运行java应用程序的快捷方式是什么

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6141173/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 20:12:48  来源:igfitidea点击:

What is the shortcut for running java application in mac eclipse

eclipsemacosshortcuts

提问by zjffdu

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 ?

我习惯了 eclipse 并且知道 ctrl+F9 用于在 windows 中的 eclipse 中运行 java 应用程序。但是现在切换到mac,发现用cmd+F9调试java应用,那么运行java应用的捷径是什么?

采纳答案by zjffdu

Find the short for run: Cmd+Shift+F11

找到短期的运行:Cmd+ Shift+F11

And debug : Cmd+F11

并调试:Cmd+F11

回答by JustDanyul

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+F11and Cmd+F11will notfire the application specific shortcut, but rather the system-wide shortcut.

请注意,如果你的键盘有多媒体功能,如音量控制,亮度等等等等,那么很多使用F键快捷键,如Cmd+ Shift+F11Cmd+F11不会触发应用程序特定的快捷方式,而是全系统捷径。

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

在这种情况下,您还需要按fn以启动特定于应用程序的快捷方式。所以在这种情况下,它将是:Fn+ Cmd+ Shift+F11

回答by linda

Command-Option-XJworks for me.

Command- Option-XJ对我来说有效。

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

Command- Option-X将显示有关如何运行应用程序的选项列表。

回答by pasql

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

要设置自定义快捷方式,请打开Eclipse-> Settings-> General->Keys并搜索Run. 向下滚动一点,Run在下面的文本框中选择并设置您的自定义绑定。最后点击应用,你就可以运行了:)

回答by vini

Fn+Cmd+shift+F11for Run

Fn+ Cmd+ shift+F11用于运行

Fn+Cmd+F11for Debug run

Fn+ Cmd+F11的调试运行