I would like to resolve CSS selectors in at least one plugin.
Currently, I have a PsiReferenceProvider wired up to a return a custom reference class (CssSelectorReference) in getReferencesByElement. Apparently, i need to implement the getVariants and resolve functions for completion and navigation purposes.
Similar to the class attribute in html, whats the best way for me to find all PsiElement (of CSS_SELECTOR) in resolve?
Whats the best way to find all variants?
Something tells me a class called CssReferenceProvider can be used/accessed, but how?