Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bitspittle opened this issue Jan 22, 2024 · 0 comments
Labels
IDE: Navigation Feature related to navigating to declaration / usage

Comments

@bitspittle
Copy link
Contributor

// 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.

@bitspittle bitspittle added the IDE: Navigation Feature related to navigating to declaration / usage label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IDE: Navigation Feature related to navigating to declaration / usage
Projects
None yet
Development

No branches or pull requests

1 participant