[Android Tips] 19. Android Studio Plugins

时间:2021-04-30 15:15:30

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

参考