简体   繁体   English

Intellij (Android Studio) 选择构建变体的快捷方式

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM