Eclipse: How can I make Ctrl+F11 work no matter which file is being edited?

前端 未结 2 443
野性不改
野性不改 2021-02-14 09:44

Ctrl + F11 is the \"Run\" keyboard shortcut in Eclipse.

But for me, that only works if a Main class is active in the editor. For any of the other 1

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-14 10:39

    You can configure Eclipse to always use the previously launched application: Window → Preferences → Run/Debug → Launching → Always launch the previously launched application. This almost always does what you want.

提交回复
热议问题