Force refresh of Editor Tabs

I've implemented the EditorTabTitleProvider extension and the title of a given tab only updates when you click it. Is there any way to force refresh all of them at once? The title provider is reading from something modified during an action, so ideally at the end of that action, I'd like to refresh all tabs.

2 comments
Comment actions Permalink

You can use FileEditorManager.getOpenFiles() to get the list of all open tabs and then call FileEditorManagerEx.updateFilePresentation() for every open tab.

0
Comment actions Permalink

Perfect, thanks a bunch!

0

Please sign in to leave a comment.