Skip to content

adevone/summer-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published