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

前端 未结 2 442
野性不改
野性不改 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:20

    Check the preferences, Launching section - you may want to switch from "launch selection" to "launch previously launched application".

提交回复
热议问题