How to know if a particular virtual file is opened in the right split

Answered
I opened a file in right split using OpenInRightSplitAction.openInRightSplit(). Now, I want to know if it's already opened in it so that I can avoid calling it. When I don't do this, it opens a third split and opens the same file in it again.
0
2 comments

`com.intellij.openapi.fileEditor.FileEditorManager#getAllEditors(com.intellij.openapi.vfs.VirtualFile)`

0

Thanks a lot Yann!!!

0

Please sign in to leave a comment.