~/talk

Building an IDE plugin for clean code generation

Talkat droidcon London 2025 · 2025-10-30..10-31· [developer-experience]
links:none on file
slides:none on file

Builds an Android Studio plugin that clones API DTOs into editable domain models, recursively generates mappers, repository interface and implementation, DI module and unit tests, and produces hundreds of lines in seconds using IntelliJ platform APIs. It uses the Kotlin Analysis API and the PSI viewer to resolve types, a visitor to deep-clone classes, and wraps disk writes with executeWriteCommand or an in‑memory staging step to produce a single undoable action. It intentionally aborts on Map return types and ships a public repo.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 0:39Problem analysis
  3. 3:46IntelliJ plugin foundations
  4. 12:47Demonstration of the plugin
  5. 16:17Deep dive into implementation
  6. 26:38Writing files and conclusion
~/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.