I'd be thankfull is anyone could provide some guidelines on how to search and scroll to some PsiElement?
Say I have an XML file and I want to scroll to the first attribute which looks like this:
This is the best I could come up with:
Is there anything better ?
I dont think the indexOf solution is too elegant; Perhaps search the PsiElements of the XmlFile and have a way to scroll to their offset...
Thank you for your time