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.
Please sign in to leave a comment.
You can use FileEditorManager.getOpenFiles() to get the list of all open tabs and then call FileEditorManagerEx.updateFilePresentation() for every open tab.
Perfect, thanks a bunch!