代码改变世界

[Android Tips] 19. Android Studio Plugins

2016-06-23 14:30  shaobin0604  阅读(241)  评论(0编辑  收藏  举报

Code Generation

GsonFormat

json 字符串生成实体类

https://github.com/zzz40500/GsonFormat

Android Parcelable Code Generator

实体类生成实现 Parcelable 接口

https://github.com/mcharmas/android-parcelable-intellij-plugin

FindViewByMe

通过 layout 文件生成 findViewById 代码

http://laobie.github.io/android/2015/11/27/find-view-by-me.html

Android Studio Prettify

  • Generator for inflater and activity setContentView view variables
  • "Extract String resource" shortcut in context menu
  • LineMarker for view types
  • View cast checking annotator
  • Field and method variable generator for views
  • Related layout files for nested classes
  • Symbol search for layout id in xml files

https://plugins.jetbrains.com/plugin/7405

参考