特定运行配置的IntelliJ键盘快捷键 [英] IntelliJ keyboard shortcut for a particular run configuration

查看:114
本文介绍了特定运行配置的IntelliJ键盘快捷键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个JUnit运行配置来运行我的所有单元测试。

I have a JUnit run configuration to run all my unit tests.

如何将键盘快捷键绑定到该JUnit配置的运行?

How can I bind a keyboard shortcut to the run of that JUnit config?

推荐答案

现在有第三方插件:

  • Run Configuration as Action

没有插件的变通办法:


  1. 使用运行|在Windows上运行... Alt + Shift + F10
    以快速选择
    配置运行或调试

  1. Use Run | Run... (Alt+Shift+F10) on Windows to quickly select the configuration to Run or Debug

从Ant脚本
目标运行测试,IDEA允许为所选$分配
键盘快捷键设置中的b $ b目标键盘地图。

Run the tests from the Ant script target, IDEA allows to assign keyboard shortcuts for the selected targets in Settings | Keymap.

这篇关于特定运行配置的IntelliJ键盘快捷键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆