Link ES6 Import to XML Tag to make it used

Answered

Hi,

What is the class to override in order to make an import used when an XML tag is present

I'm working with the svelte syntax which is similar to html but the issue I couldn't solve is to make the import used if a tag is present

Example code

<script>
import Child from "./Child.svelte";
</script>

<Child></Child>

The tag descriptor already return the declaration but the inspector doesn't take that into account

I also tried to use intentionAndInspectionFilter but with no success

Thank you

2 comments
Comment actions Permalink

Actually yes, I think the reference searcher implementation is the best solution in this case.

1

Please sign in to leave a comment.