Mobile Feedback Android Studio Live Templates
Description
Android Studio Live Templates allow you to predefine common and lengthy code snippets. To use a live template, you can type a simple abbreviation and the IDE automatically completes the code. Using live templates to standardize the Mobile Feedback Software Development Kit (SDK) has two main benefits:
Improve integration efficiency and simplify testing.
Avoid bugs caused by typos and reduce troubleshooting costs.
Usage
In Android Studio, select File > Import Settings and import the FeedbackLiveTemplates.jar file.
Removal
Go to Android Studio > Preferences > Editor > Live Templates and delete alicloud-feedback.
Usage example

MPush SDK Live Templates
Template name (shortcut) |
Feature |
feedback-java-init |
Initialization code template |
feedback-java-open |
Open feedback template |
feedback-java-unread |
Get unread message count template |
feedback-java-fragment |
Use fragment template |
feedback-java-contact |
Set default contact method template |
feedback-java-backicon |
Set back button image template |
feedback-progard |
Obfuscation template |
Resolve the package name auto-import issue

Select the option circled in red in the preceding image.