[英]Intellij (Android Studio) shortcut to select build variant
In IntelliJ
( Android Studio
) is there a quick way to change the current build variant (flavour) without having to use the mouse?在
IntelliJ
( Android Studio
) 中,是否有一种无需使用鼠标即可更改当前构建变体(风格)的快速方法? Or is there and easy way to customise IntelliJ
to provide this functionality?或者是否有简单的方法来自定义
IntelliJ
以提供此功能?
You can do this under the Settings
menu.您可以在“
Settings
菜单下执行此操作。
Settings
-> Keymap
and add Select Build Variant
Shortcut. Settings
-> Keymap
并添加Select Build Variant
Shortcut。
Use the Select Build Variant
shortcut to focus on the build variant table, select needed module's variant row, and press F2
to invoke popup.使用
Select Build Variant
快捷方式关注构建变体表,选择所需模块的变体行,然后按F2
调用弹出窗口。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.