Android Studio插件开发利器Exynap

Exynap在Android周报中看到的,第一眼看不知是啥。看着看着,感觉不觉明历!简直就是Android Studio的一大帮凶,让Android Studio更加方便、简洁、命令化的编程。快捷键(Ctrl + Shift + D)——先安装插件Exynap。


网站:http://exynap.com/


一、 安装插件Exynap
1、打开Setting界面(Ctrl+Alt+S)或者通过菜单点击打开
2、plugin窗口,输入 Exynap,之后点击Install(插件怎么安装你知道的)
3、重启Android Studio

二、使用
只可以在Java代码中使用,布局xml文件中不可。
快捷键 Ctrl  + Shift + D打开命令化界面,输入你正在想要做的口令。
Command Result
bind view Binds the selected XML layout file (either native Android binding or via Butterknife)
create alert dialog Creates a new AlertDialog
convert px into dp Converts a pixel value into dp value
hide keyboard Hides an open keyboard
create notification Creates a new notification via NotificationCompat.Builder
replace fragment via FragmentManager Replaces an existing fragment with a new one
set repeating alarm Configures and starts a repeating alarm
send email Sends an email
get preferences Gets an instance of SharedPreferences
put string to SharedPreferences Writes a String into SharedPreferences
create new Activity Creates a new subclass of Activity
Create new Adapter Creates a simple Adapter stub
如下图:
Android Studio插件开发利器Exynap_第1张图片

Android Studio插件开发利器Exynap_第2张图片

你可能感兴趣的:(Android Studio插件开发利器Exynap)