public static boolean isIgnoredInAnySense(@NotNull Project project, @NotNull VirtualFile file) {
    ChangeListManager manager = ChangeListManager.getInstance(project);

    return manager.isIgnoredFile(file) || FileStatus.IGNORED.equals(manager.getStatus(file));
  }
public static boolean isIgnoredInAnySense(@NotNull Project project, @NotNull VirtualFile file)