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

Add declaration sites for styles if they are overridden in an InitSilk block #28

Open bitspittle opened 8 months ago

bitspittle commented 8 months ago
// Third party library
val SomeStyle by CssStyle

// App
fun initSilk(ctx) {
   ctx.modifyStyle(SomeStyle) {
     ...
   }
}

Div(SomeStyle.toModifier(...))

Putting the cursor on "SomeStyle" and navigating should offer you a popup both to the main SomeStyle declaration and also the modifyStyle line.