在 Android Studio 和 Sublime 3 中实测没问题。
1 | /* |
How to create Live Template
In Android Studio, [File] -> [Settings…] Search [Live Templates]
Then input [No Bug] for group name.
Next Select [No Bug] which you just added, this time create [Live Template].
Insert the template text and assign a [Abbreviation]:
Then click [Define] in the above picture and select [Everywhere]:
**How to use Live Template** Open or create a file and input [cnm] that is the [Abbreviation] you assigned. Then press [Tab] key to insert live template.God will bless you.