com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl#dumbModeFinished derails my EditorTabColorProvider

Answered

com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl#dumbModeFinished async background color update derails my custom EditorTabColorProvider implementation as it requires to be execute in  EDT due to usage of FileEditorManager.getInstance(project).getSelectedEditor(virtualFile)

Supressing it on dumbModeFinished undermines the setup which happens before dumbMode is finished. 

Any ideas how to tackle this?

Thanks

2

Please sign in to leave a comment.