varabyte / kobweb-intellij-plugin

An official IntelliJ IDE plugin to include Kobweb-specific enhancements and understanding to your project
Apache License 2.0
11 stars 2 forks source link

Warn if remembering a worker without using `rememberWorker` #12

Open bitspittle opened 10 months ago

bitspittle commented 10 months ago
// Before 
val worker = remember { SomeWorker() }

// After
val worker = rememberWorker { SomeWorker() }

Also offer to automatically migrate the method call.

Nxllpointer commented 10 months ago

PSI fun again wohoo

Nxllpointer commented 10 months ago

should be fairly easy to detect