Summer framework plugin. Plugin page
Adds convenience intentions to generate viewProxy and events platform implementations.

Intentions

Implement missing properties

Click alt+Enter when the caret on object that implements viewProxy and select Store missing properties

override val viewProxy: FeatureView = >>>object<<< : FeatureView {
    override var banner by state({ it::banner }, initial = null)
}
State property

Click alt+Enter when the caret on property name in View interface and select state

interface FeatureView {
    var >>>banner<<<: Banner?
}
Event

Click alt+Enter when caret on property name in View interface and select doExactlyOnce or doOnlyWhenAttached

interface FeatureView {
    val >>>doSomething<<<: () -> Unit
}
Copy event implementation

Click alt+Enter when caret on property name in View interface and select Copy iOS implementation or Copy Android implementation

interface FeatureView {
    val >>>doSomething<<<: () -> Unit
}

Manual installation

  1. Download the latest plugin version
  2. Open Intellij plugins page
  3. Click to gear icon
  4. Select "Install Plugin from disk..."
  5. Select downloaded .zip file
  6. Restart your IDE