@Override
  public void virtualFileAppearanceChanged(@NotNull VirtualFile virtualFile) {
    FileEditorManagerEx fileEditorManager = (FileEditorManagerEx)FileEditorManager.getInstance(myProject);
    final VirtualFile currentFile = fileEditorManager.getCurrentFile();
    if (Objects.equals(virtualFile, currentFile)) {
      fileEditorManager.updateFilePresentation(currentFile);
    }
  }
@Override
  public void virtualFileAppearanceChanged(@NotNull VirtualFile virtualFile)