开发者

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

开发者 https://www.devze.com 2023-02-02 19:10 出处:网络
I have Eclipse for PHP Developers based on 开发者_JS百科Helios. In order to run my PHPUnit tests on a directory its:

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

精彩评论

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