Android Studio 中“新空白活动"的键盘快捷键 [英] Keyboard shortcut for 'new blank activity' in Android Studio
问题描述
是否有键盘快捷键可以在 Android Studio 中添加新的空白活动?
Is there a keyboard shortcut to add a new blank activity in Android Studio?
我知道你可以点击File ->新 ->Activity
如解释 此处,但是当我添加多个活动时,这会变得烦人且乏味.
I know you can click File -> New -> Activity
as explained here but this gets annoying and tedious when I'm adding multiple activities.
单击包名称,然后是 Alt+Insert 到 File 的快捷方式 ->新增
,不过,你还是需要手动导航到Activity ->空白活动
Clicking on the package name followed by Alt+Insert shortcuts to File -> New
, however, you still need to manually navigate to Activity -> Blank Activity
推荐答案
您可以为您想要的任何操作指定快捷方式.前往
You can assign a shortcut to any action you want. Go to
File > Settings > Keymap
并搜索Blank Activity
.现在右键单击该项目并选择添加键盘快捷键
.
and search for Blank Activity
. Now right click the item and select Add Keyboard Shortcut
.
这篇关于Android Studio 中“新空白活动"的键盘快捷键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!