~/talk

Enough with scripts, let's create an Android Studio plugin?

TalkinFrenchat Android Makers 2022 · 2022-04-25..04-26· [developer-experience]
slides:none on file

A concrete workflow for replacing fragile external scripts with an Android Studio plugin that edits source files to insert view binding code. It uses the IntelliJ/Android Studio Platform and PSI to parse Kotlin and find setContentView calls, generates binding classes, programmatically edits documents, builds and signs a Gradle plugin, publishes it to the JetBrains Marketplace, runs the plugin in a test IDE, and performs project-wide migration of hundreds to thousands of screens to save days of manual work.

AI-written summary · about

  1. 0:00Android Studio plugins
  2. 1:52Plugin vs script
  3. 5:00Dev environment setup
  4. 6:44Register plugin action
  5. 10:17ViewBinding plugin
  6. 16:19Java file manipulation
  7. 17:24Other plugin types
  8. 17:45Deploying plugin
  9. 20:57Plugins vs scripts
  10. 21:19Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.