varabyte / kobweb-intellij-plugin

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

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

Open bitspittle opened 5 months ago

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

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

Also offer to automatically migrate the method call.

Nxllpointer commented 5 months ago

PSI fun again wohoo

Nxllpointer commented 5 months ago

should be fairly easy to detect