1.GsonFormat
可以自动将json转换为Java Bean对象

使用方法:快捷键Alt+S也可以使用Alt+Insert选择GsonFormat
2.Android ButterKnife Zelezny
配合ButterKnife实现注解,从此不用写findViewById。在Activity,Fragment,Adapter中选中布局xml的资源id自动生成butterknife注解。

使用方法:Ctrl+Shift+B或Alt+Insert选择图上所示选项
3.RemoveButterKnife
ButterKnife这个第三方库每次更新之后,绑定view的注解都会改变,从bind,到inject,再到bindview,搞得很多人都不敢升级,一旦升级,就会有巨量的代码需要手动修改,非常痛苦
当我们有一些非常棒的代码需要拿到其他项目使用,但是我们发现,那个项目对第三方库的使用是有限制的,我们不能使用butterknife,这时候,我们又得从注解改回findviewbyid
针对上面的两种情况,如果view比较少还好说,如果有几十个view,那么我们一个个的手动删除注解,写findviewbyid语句,简直是一场噩梦(别问我为什么知道这是噩梦)
所以,这种有规律又重复简单的工作为什么不能用一个插件来实现呢?于是RemoveButterKnife的想法就出现了。
4.CodeGlance
实现像代码一样预览

5.ADB WIFI
实现WiFi调试app

6.Android Styler
根据xml自动生成style代码的插件



使用方法:
- a. copy lines with future style from your layout.xml file
- b. paste it to styles.xml file with Ctrl+Shift+D (or context menu)
- c. enter name of new style in the modal window
- d. your style is prepared!
7.LeakCanary
在开发阶段可以很快速的找到内存泄漏问题
LeakCanary中文参考
更多插件参考:传送门
网友评论