private static @Nullable VcsSelection getSelectionFromExtensions(@NotNull DataContext dataContext) {
    for (VcsSelectionProvider provider : VcsSelectionProvider.EP_NAME.getExtensionList()) {
      try {
        final VcsSelection vcsSelection = provider.getSelection(dataContext);
        if (vcsSelection != null) return vcsSelection;
      }
      catch (IndexNotReadyException ignored) {
      }
    }
    return null;
  }
private static @Nullable VcsSelection getSelectionFromExtensions(@NotNull DataContext dataContext)