Get psiFile from toolWindow


I'm pretty new at this so maybe this is a basic question - sorry about that.
I created my own tool window and i'd like to parse all annotations from the current opened class.
In order to do this i need to get the PSI class in my tool window code. How can i do this? I already have the editor, can i get psifile from an editor? how?


Original message URL:

Please sign in to leave a comment.