如何在eclipse中映射一个密钥来运行项目运行配置? [英] how do I map a key in eclipse to run the project run configuration?
问题描述
我遇到的问题是我使用eclipse来写scala,热键Run as Scala只有当我的编辑器已经打开主类的文件(WTF)时,才能工作。在所有其他文件上,我收到错误消息编辑器不包含主类型,没有任何进一步的信息。所以我创建了一个运行配置,在那里我指定了主文件,但现在我不知道如何在不触摸鼠标的情况下启动此配置。
最好使用Alt + R然后T然后1。
I created a new eclipse project with a new run configuration. This configuration is visible on the drop down menu for run configurations and has a 1 on it. How do I assign a Key to run exacty this configuration?
The problem I have is, that I use eclipse to write scala, and the hotkey "Run as Scala" does only work if my editor has the file with the main class opened (WTF). On all other files I get the error message "Editor does not contain a main type" without any further information. So I created a run configuration, where I specified the Main file, but now I don't know how to start this configuration without touching the mouse.
works best Alt+R then T then 1.
这篇关于如何在eclipse中映射一个密钥来运行项目运行配置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!