Android Studio中自己定义快捷输入块

it2025-06-10  42

快捷键:Ctrl + Alt + s,进入Settings

>Editor>Live Templates>output中加入一个项,选择第一个Live Template

点击Define。勾选Everywhere后确定才干在自己想要的地方高速调用出来:

例如以下。在xml中一样能够调出来:

回车后:

转载于:https://www.cnblogs.com/bhlsheji/p/5331986.html

最新回复(0)