Link ES6 Import to XML Tag to make it used



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

import Child from "./Child.svelte";


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

Comment actions Permalink

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


Please sign in to leave a comment.