boolean (@NotNull Project project, @NotNull PsiFile file) { if (isFileUnderVcs(file)) { FileStatus status = ChangeListManager.getInstance(project).getStatus(file.getVirtualFile()); return status == FileStatus.UNKNOWN || status == FileStatus.IGNORED; } return true; }