一、概述
相信大家在使用Android Studio的时候,或多或少的会使用一些插件,适当的配合插件可以帮助我们提升一定的开发效率,更加快乐。例如:
https://github.com/wuseal/JsonToKotlinClass 把Json字符串转化为kotlin实体类
https://github.com/avast/android-butterknife-zelezny 可以帮助我们更加方便的使用butterknife
https://github.com/Skykai521/ECTranslation 可以帮助在IDE里面完成英文->中文的翻译
有句话叫做授人以鱼不如授人以渔,不能一直跟随着别人的脚步去使用插件了,有必要去学习编写插件,当自己有好的创意的时候,就可以自己实现了。
参考:学会编写Android Studio插件 别停留在用的程度了
http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started.html
https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000724850-Make-Intellij-Idea-plugin-work-with-Kotlin-files
https://github.com/JetBrains/kotlin/tree/master/compiler/psi/src/org/jetbrains/kotlin
Kotlin for Plugin Developers 中文版