Closed darrenmothersele closed 4 years ago
Perhaps the plugin is only looking within the first script block within a component?
Yes it is :) Script tags with module context aren't supported yet, sorry.
Thanks!
Will you be rolling a new release that includes this fix? Thanks!
Yep you can grap it here before it lands in JB marketplace https://github.com/tomblachut/svelte-intellij/releases/tag/v0.12.0
I get an error "Unresolved variable or type videoElem" with the following component. The error appears in the IDE, but does not break the Svelte build.
If I move the variable declaration to the module context, or swap the order of the script blocks, then the error does not appear. Perhaps the plugin is only looking within the first script block within a component?