Action to trigger on currently selected file change

I need a way to trigger some code when any of the currently selected files in the FileEditorManager for my project changes (e.g. I have three tabs open and I switch from tab A to tab B). Is there an action or action listener I can add to my plugin that will trigger when the currently selected file in the editor changes?

1 comment
Comment actions Permalink

Subscribe to the FileEditorManagerListener.FILE_EDITOR_MANAGER topic using the message bus (


Please sign in to leave a comment.