开发者

How to assign a hotkey to a menu item in Eclipse?

I have Eclipse for PHP Developers based on 开发者_JS百科Helios.

In order to run my PHPUnit tests on a directory its:

  • right click
  • click
  • click
  • click

How to assign a hotkey to a menu item in Eclipse?

How can I assign keyboard hotkey (e.g. ALT-Apple-P) to "Run PHPUnit Test" based on a certain directory so I can execute my tests without all the clicking.


Open the eclipse preferences. Ther you go to General -> Keys. In that window you must search for your Run PHPUnit Test command an binding your key combination!


Menu Window -> Preferences: General -> Keys: Search in the list the action you intend to bind a shortcut to, below on the Binding set the shortcut, and you're done.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜