您的位置:首页 > 移动开发 > Android开发

android studio 中好用的插件————你值的拥有

2016-06-15 11:29 274 查看

1.一键生成项目混淆代码插件

效果图:



配置详情:https://github.com/zhonghanwen/AndroidProguardPlugin

2.ButterKnife Zelezny

注解生成器,使用起来非常简单方便,使用ButterKnife的有福了!

效果图



配置详情:https://github.com/avast/android-butterknife-zelezny


3.SelectorChapek

每个按钮都要写一个selector是不是很麻烦?这么这个插件就为解决这个问题而生,你只需要做的是告诉设计师们按照规范命名就好了,其他一键搞定。按照不同状态(normal、pressed)的标准命名后,右键文件树Generate
Android Selectors见inmite/android-selector-chapek · GitHub

效果图:



配置链接:https://github.com/inmite/android-selector-chapek


4.GsonFormat

服务端api都以json数据格式返回,而客户端需要根据api接口生成相应的实体类,这个插件把这个过程自动化了,



配置链接:https://github.com/zzz40500/GsonFormat

5.Android Parcelable code generator

Android中的序列化有两种方式,分别是实现Serializable接口和Parcelable接口,但在Android中是推荐使用Parcelable,只不过我们这种方式要比Serializable方式要繁琐,那么有了这个插件一切就ok了。



下载地址:http://plugins.jetbrains.com/plugin/7332?pr=androidstudio(下载之后使用本地安装)


6.LeakCanary

检测出内存泄露的问题,使用起来更简单方便。

英文不好的这里有雷锋同志翻译的中文版LeakCanary 中文使用说明



配置:https://github.com/square/leakcanary

7.JSONOnlineViewer

可实现直接在android studio中调试接口数据,可以选择请求类型,自定义请求头及请求体,json数据格式化后展示



插件下载:https://plugins.jetbrains.com/plugin/7838?pr=

8.Android
code Generator

安卓代码生成插件,帮助提高app的开发速度。可以从layout生成Activity类、Fragment类、Adapter类,从menu.xml生成menu代码等。



插件下载地址:https://plugins.jetbrains.com/plugin/7595?pr=

插件源码地址:https://github.com/tmorcinek/android-codegenerator-plugin-intellij

插件教程:(中文版)http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2016/0523/4294.html、(英文版)http://tmorcinek.github.io/android-codegenerator-plugin-intellij/

9.Sexy Editor(我称之为装逼工具

设置代码性感背景图



插件下载地址:https://plugins.jetbrains.com/plugin/1833?pr=androidstudio

插件源码地址:https://github.com/igorspasic/idea-sexyeditor

更多优秀插件等待你的发现:http://plugins.jetbrains.com/?androidstudio

说了这个多好像没有说怎么安装插件。。。。下面介绍下吧

直接上图了



应该能理解了吧(更多看 Android Studio安装插件

参考文档:

https://github.com/dreamlivemeng/androidstudio-plugins

http://blog.csdn.net/liang5630/article/details/46366901/

http://www.2cto.com/kf/201604/500597.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: